/* ===== 학교생활 (시간표·급식·학사일정) : 공통 boxTitle + boxTable/tableSkin ===== */
.tt-wrap { max-width: var(--tg-page, 1100px); margin: 0 auto; padding: 10px var(--tg-gut, 10px); box-sizing: border-box; color: #2b2f3a; text-align: left; }
.tt-wrap *, .tt-wrap *::before, .tt-wrap *::after { box-sizing: border-box; }
.tt-wrap h1.boxTitleText { margin: 0; line-height: inherit; }	/* span 타이틀과 같은 높이 */
#tb_menu td.tt-fill, #tb_menu td.tt-fill:hover { background: none !important; cursor: default; }	/* 탭이 1개라 오른쪽 빈칸 */
.tt-wrap .radiusSml { display: inline-block; line-height: 1.5; }
.tt-card { margin-top: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--tg-line); border-radius: 14px; box-shadow: 0 4px 16px rgba(11,79,92,.06); }
.tt-card h2 { margin: 0 0 12px; font-size: clamp(17px, 1.6vw + 10px, 20px); color: var(--tg-deep); }
.tt-card h2 small { margin-left: 8px; font-size: 14px; font-weight: normal; color: #6b7280; }
.tt-search { display: flex; }
.tt-search .boxRowSame { width: 100%; max-width: 560px; }
.tt-search input[type=text] { flex: 1; min-width: 0; height: 44px; padding: 0 14px; font-size: 16px; border: 1px solid var(--tg-line); border-radius: 10px; }
.tt-search input[type=text]:focus { outline: none; border-color: var(--tg-main); }
.tt-search .radiusMidAni { margin: 0; padding: 0 22px; font-size: 16px; cursor: pointer; white-space: nowrap; }
.tt-hint { margin: 10px 2px 0; font-size: 14px; color: #6b7280; }
.tt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }	/* 기억한 학교 (쿠키 365일) */
.tt-chip { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--tg-line); border-radius: 999px; background: #fff; overflow: hidden; transition: border-color .2s, background .2s; }
.tt-chip:hover { border-color: var(--tg-main); }
.tt-chip a { display: inline-flex; align-items: center; height: 100%; text-decoration: none; color: var(--tg-deep); font-size: 14px; }
.tt-chip a:first-child { padding: 0 6px 0 14px; }
.tt-chip .tt-chip-x { padding: 0 11px 0 6px; color: #9aa3ad; font-size: 16px; transition: color .2s, background .2s; }
.tt-chip .tt-chip-x:hover { color: var(--tg-accent-d, #d4581e); background: var(--tg-accent-tint, #fff0ea); }
.tt-chip.on { background: var(--tg-main); border-color: var(--tg-main); }
.tt-chip.on a { color: #fff; font-weight: bold; }
.tt-chip.on .tt-chip-x { color: rgba(255,255,255,.75); }
.tt-chip.on .tt-chip-x:hover { color: #fff; background: rgba(0,0,0,.12); }
.tt-msg { margin: 14px 0 0; padding: 16px; text-align: center; font-size: 15px; color: #5b6272; background: var(--tg-tint-l); border-radius: 10px; }
.tableSkin tr.table_title td { text-align: center !important; }
.tableSkin td.tt-c { text-align: center; white-space: nowrap; }
.tt-sch tr.tt-row { cursor: pointer; }
.tt-sch td b { color: var(--tg-deep); }
.tt-sch td.tt-ad { color: #6b7280; font-size: 14px; }
.tt-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.tt-head h2 { margin: 0; }
.tt-info { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; font-size: 14px; color: #6b7280; }
.tt-info .radiusSml { margin: 0; font-size: 13px; }
.tt-grade { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.tt-grade > b { flex: 0 0 52px; font-size: 15px; color: var(--tg-deep); }
.tt-grade > div { display: flex; flex-wrap: wrap; gap: 6px; }
.tt-grade .radiusSml { margin: 0; min-width: 42px; text-align: center; }
.tt-grade .radiusSml.on { background: var(--tg-main); border-color: var(--tg-main); color: #fff; font-weight: bold; }
.tt-week { display: flex; align-items: center; gap: 6px; }
.tt-week .radiusSml { margin: 0; }
.tt-week b { margin: 0 6px; font-size: 15px; color: var(--tg-deep); white-space: nowrap; }
.tt-grid { margin-top: 12px; }
.tt-grid table { width: 100%; table-layout: fixed; }
.tt-grid td { text-align: center; vertical-align: middle; word-break: keep-all; overflow-wrap: anywhere; }
.tt-grid td.tt-p { font-weight: bold; color: var(--tg-deep); background: var(--tg-tint-l); }
.tt-grid td.tt-pw, .tt-grid td.tt-p { width: 64px; }
.tt-grid tr.table_title td small { display: block; font-weight: normal; font-size: 13px; opacity: .85; }
.tt-grid td.today { background: var(--tg-tint); font-weight: bold; }
.tt-grid td.tt-e { color: #c3c8d0; }
.tt-em { display: inline-block; margin-right: .3em; font-style: normal; font-weight: normal; font-size: 1.1em; line-height: 1; vertical-align: -.08em; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }	/* 2글자 과목 앞 이모지 */
.tt-src { margin: 16px 4px 0; font-size: 13px; color: #8a909c; line-height: 1.6; }
#ttWeek { scroll-margin-top: 12px; }	/* 반·주 이동 때 이 영역으로 */
.tt-grid .tableSkin tr + tr td { border-top: 1px solid #c3d3d6 !important; }	/* 교시 줄 조금 진하게 */

/* 학교생활 메인 */
.sc-today { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.sc-box { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--tg-line); border-radius: 12px; background: #fff; }
.sc-box h3 { margin: 0 0 6px; font-size: 16px; color: var(--tg-deep); }
.sc-box h3 small { margin-left: 6px; font-weight: normal; font-size: 13px; color: #6b7280; }
.sc-box > .radiusSml { align-self: flex-start; margin: 12px 0 0; }
.sc-box .sd-mlist.sc-ev { display: block; margin: 0; }
.sc-box .ml-sc { margin-top: 4px; }
.sc-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.sc-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--tg-line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 4px 16px rgba(11,79,92,.06); transition: border-color .2s, box-shadow .2s, background .2s; }
.sc-card:hover { border-color: var(--tg-main); background: var(--tg-tint-l); box-shadow: 0 8px 22px rgba(11,79,92,.12); }
.sc-card svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--tg-tint); fill: none; stroke: var(--tg-main-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-card h2 { margin: 12px 0 6px; font-size: 18px; color: var(--tg-deep); }
.sc-card p { flex: 1; margin: 0; font-size: 14px; line-height: 1.6; color: #5b6272; }
.sc-card .sc-go { margin-top: 12px; font-size: 14px; font-weight: bold; color: var(--tg-main-d); }
.sc-help ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.8; color: #4a5160; }
.sc-help code { padding: 1px 6px; border-radius: 6px; background: var(--tg-tint-l); font-size: 13px; word-break: break-all; }

/* 급식 */
.ml-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ml-day { padding: 12px; border: 1px solid var(--tg-line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ml-day:hover { border-color: var(--tg-main); box-shadow: 0 4px 14px rgba(11,79,92,.08); }
.ml-day.today { background: var(--tg-tint-l); border-color: var(--tg-main); }
.ml-day h3 { margin: 0 0 8px; font-size: 16px; color: var(--tg-deep); }
.ml-day h3 small { margin-left: 4px; font-weight: normal; font-size: 13px; color: #6b7280; }
.ml-sc { margin-top: 8px; }
.ml-sc b { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--tg-tint); color: var(--tg-main-d); font-size: 12px; }
.ml-sc ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; }
.ml-sc li { display: flex; align-items: center; gap: 7px; padding: 3px 0; }	/* 줄 간격 넉넉하게 */
.ml-sc li + li { border-top: 1px dashed #e6edef; }
.ml-em { flex: none; width: 1.5em; font-style: normal; font-size: 17px; line-height: 1.2; text-align: center; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.ml-sc .ml-cal { font-size: 12px; color: #8a909c; }
/* 식판 그림 (한 끼만 있는 날) : 카드 아래쪽 */
.ml-day { display: flex; flex-direction: column; }
.ml-tray { margin-top: auto; padding-top: 16px; container-type: inline-size; }	/* 칸·그림 크기 = 식판 폭 비율 (cqw) */
.mt-plate { position: relative; display: flex; flex-direction: column; gap: clamp(4px, 2.6cqw, 10px); padding: clamp(5px, 3.4cqw, 14px); border-radius: clamp(12px, 7cqw, 26px); background: linear-gradient(145deg, #f4f7f9, #dde4e9); box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(60,80,95,.15); }
.mt-top { display: flex; gap: clamp(3px, 2.2cqw, 9px); }
.mt-bot { display: flex; gap: clamp(4px, 2.6cqw, 10px); }
.mt-c, .mt-rice, .mt-soup { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: linear-gradient(180deg, #e3e9ee, #eef2f5); box-shadow: inset 0 2px 3px rgba(60,80,95,.18); font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; line-height: 1; }
.mt-c { flex: 1; min-width: 0; height: clamp(32px, 16cqw, 66px); font-size: clamp(17px, 9.5cqw, 36px); border-radius: clamp(8px, 4.5cqw, 16px) !important; }
.mt-rice, .mt-soup { flex: 1; height: clamp(52px, 30cqw, 120px); font-size: clamp(34px, 20cqw, 80px); border-radius: clamp(10px, 6cqw, 22px); }
.mt-soup { border-radius: 50% / 46%; }
.mt-cut { position: absolute; z-index: 2; left: 50%; bottom: 8px; display: flex; align-items: flex-end; transform: translateX(-50%); font-size: clamp(24px, 13cqw, 50px); pointer-events: none; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; filter: drop-shadow(0 2px 2px rgba(40,55,65,.28)); }	/* 식판 위 밥·국 사이 */
.mt-cut span { display: block; line-height: 1; transform: rotate(8deg); }
.mt-chop { margin-left: -.35em; transform: scaleY(-1) rotate(4deg) !important; }	/* 젓가락 위아래 뒤집기 */
.ml-day:hover .mt-cut span { animation: mtWiggle .9s ease-in-out infinite alternate; }
/* 김 모락모락 */
.mt-steam { position: absolute; left: 50%; bottom: 62%; width: 30px; height: 26px; margin-left: -15px; pointer-events: none; }	/* 김 모락모락 (처음 그대로) */
.mt-steam b { position: absolute; bottom: 0; width: 4px; height: 14px; border-radius: 4px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(170,185,195,.75)); opacity: 0; animation: mtSteam 2.4s ease-in infinite; }
.mt-steam b:nth-child(1) { left: 5px; animation-delay: 0s; }
.mt-steam b:nth-child(2) { left: 13px; animation-delay: .8s; }
.mt-steam b:nth-child(3) { left: 21px; animation-delay: 1.6s; }
@keyframes mtSteam { 0% { opacity: 0; transform: translateY(4px) scaleY(.6); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px) translateX(3px) scaleY(1.2) skewX(-12deg); } }
@keyframes mtWiggle { from { margin-top: 0; } to { margin-top: 0; filter: drop-shadow(0 0 3px rgba(255,180,80,.7)); } }
.ml-none { color: #b0b6c0; font-size: 14px; }

/* 학사일정 : 달력 (일~토 7칸) */
.sd-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--tg-line); border-radius: 12px; overflow: hidden; background: var(--tg-line); gap: 1px; }
.sd-hd { padding: 9px 0; text-align: center; font-size: 15px; font-weight: bold; color: #fff; background: var(--tg-main); }
.sd-hd.sun { background: #E2685A; }
.sd-hd.sat { background: #3E7FC1; }
.sd-day { min-height: 96px; padding: 6px 6px 8px; background: #fff; display: flex; flex-direction: column; gap: 3px; transition: background .2s; }
.sd-day:hover { background: var(--tg-tint-l); }
.sd-day b { font-size: 14px; color: #3b4250; }
.sd-day.sun b { color: #D9473A; }
.sd-day.sat b { color: #2F6DB0; }
.sd-day.out { background: #f7f9fa; }
.sd-day.out b { color: #c3c8d0; }
.sd-day.today { background: var(--tg-tint); }
.sd-day.today b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tg-main); color: #fff; }
.sd-ev { display: block; padding: 2px 6px; border-radius: 6px; background: var(--tg-tint-l); color: var(--tg-deep); font-size: 12.5px; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
.sd-ev.off { background: #FDECEA; color: #C2412F; }
.sd-mlist { display: none; margin: 14px 0 0; padding: 0; list-style: none; }
.sd-mlist li { display: flex; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--tg-line); font-size: 14px; }
.sd-mlist li b { flex: 0 0 76px; color: var(--tg-deep); }
.sd-mlist li.off b, .sd-mlist li.off span { color: #C2412F; }
/* 학교정보 */
.si-hero { display: flex; align-items: center; gap: 18px; background: linear-gradient(135deg, #fff 55%, var(--tg-tint-l)); }
.si-badge { flex: none; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 22px; background: var(--tg-tint); font-size: 40px; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; box-shadow: inset 0 0 0 2px #fff, 0 4px 12px rgba(11,79,92,.10); }
.si-name { flex: 1; min-width: 0; }
.si-name h2 { margin: 0; font-size: clamp(20px, 1.8vw + 12px, 26px); }
.si-eng { margin: 2px 0 0; font-size: 14px; color: #8a909c; letter-spacing: .02em; }
.si-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.si-pill { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 11px; border-radius: 999px; background: #fff; border: 1px solid var(--tg-line); font-size: 13.5px; color: var(--tg-deep); }
.si-links { display: flex; flex-direction: column; gap: 8px; }
.si-links .radiusMidAni { margin: 0; min-width: 120px; text-align: center; cursor: pointer; white-space: nowrap; }
.si-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; align-items: start; }
.si-list { display: flex; flex-direction: column; }
.si-item { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-top: 1px dashed #e3eaec; }
.si-item:first-child { border-top: 0; padding-top: 2px; }
.si-em { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tg-tint-l); font-style: normal; font-size: 21px; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; transition: background .2s; }
.si-item:hover .si-em { background: var(--tg-tint); }
.si-item > div { min-width: 0; display: flex; flex-direction: column; }
.si-lbl { font-size: 12.5px; color: #8a909c; }
.si-item b { font-size: 15.5px; color: #2b2f3a; word-break: keep-all; overflow-wrap: anywhere; }
.si-item small { font-size: 13px; color: var(--tg-accent-d, #d4581e); }
.si-sub { font-weight: normal; font-size: 13.5px; color: #6b7280; }
.si-url { color: var(--tg-main-d); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.si-url:hover { color: var(--tg-accent-d, #d4581e); }
.si-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e3eaec; }
.si-tags .si-lbl { margin-right: 4px; font-size: 13.5px; color: var(--tg-deep); font-weight: bold; }
.si-tag { padding: 3px 11px; border-radius: 999px; background: var(--tg-tint); color: var(--tg-main-d); font-size: 13.5px; }
.si-cls { display: flex; flex-direction: column; gap: 9px; }
.si-crow { display: flex; align-items: center; gap: 10px; }
.si-crow b { flex: 0 0 46px; font-size: 14.5px; color: var(--tg-deep); }
.si-crow em { flex: none; font-style: normal; font-size: 14px; font-weight: bold; color: var(--tg-main-d); }
.si-dots { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; }
.si-dots i { width: 16px; height: 16px; border-radius: 5px; background: var(--tg-main); opacity: .85; }
.si-dots i:nth-child(even) { background: var(--tg-accent, #FF7A50); opacity: .75; }
.si-total { margin: 12px 0 10px; font-size: 14.5px; color: #4a5160; }
.si-total b { color: var(--tg-accent-d, #d4581e); font-size: 17px; }
.si-go { display: flex; flex-wrap: wrap; gap: 8px; }
.si-go .radiusSml { margin: 0; }
.si-more .tt-hint { margin-top: 12px; }
/* 학교정보 : 학생 수 (학교알리미) */
.st-bigs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.st-big { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; background: var(--tg-tint-l); text-align: center; transition: background .2s; }
.st-big:hover { background: var(--tg-tint); }
.st-big i { font-style: normal; font-size: 26px; line-height: 1.2; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.st-big span { font-size: 13px; color: #6b7280; }
.st-big b { font-size: clamp(19px, 1.2vw + 12px, 24px); color: var(--tg-deep); }
.st-big b small { margin-left: 2px; font-size: 13px; font-weight: normal; color: #6b7280; }
.st-grades { margin-top: 16px; }
.st-legend { display: flex; justify-content: flex-end; gap: 12px; margin-bottom: 6px; font-size: 13px; color: #6b7280; }
.st-legend span { display: inline-flex; align-items: center; gap: 5px; }
.st-legend i, .st-bar i { display: block; }
.st-legend i { width: 12px; height: 12px; border-radius: 4px; }
.st-legend i.m, .st-bar i.m { background: var(--tg-main); }
.st-legend i.w, .st-bar i.w { background: var(--tg-accent, #FF7A50); }
.st-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 210px; align-items: center; gap: 10px; padding: 6px 0; }
.st-row > b { font-size: 14.5px; color: var(--tg-deep); }
.st-bar { display: flex; height: 18px; min-width: 8px; border-radius: 9px; overflow: hidden; gap: 2px; background: #fff; }
.st-num { font-size: 13.5px; color: #6b7280; white-space: nowrap; }
.st-num em { font-style: normal; font-weight: bold; color: #2b2f3a; font-size: 14.5px; }
.st-etc { margin: 8px 0 0; font-size: 14px; color: #4a5160; }
/* 방과후·돌봄 · 진학·진로 · 교원현황 (학교정보 학생 수 모양 그대로) */
.ab-bar { width: 100%; height: 14px; margin: 2px 0 12px; }
.ab-gauge { position: relative; height: 30px; margin-top: 12px; border-radius: 15px; background: var(--tg-tint-l); overflow: hidden; }
.ab-gauge i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 15px; background: linear-gradient(90deg, var(--tg-main), var(--tg-accent, #FF7A50)); }
.ab-gauge span { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 13.5px; color: var(--tg-deep); text-shadow: 0 0 3px #fff, 0 0 6px #fff; }
.cr-rows .st-row, .tc-rows .st-row { grid-template-columns: 136px minmax(0, 1fr) auto; }
.cr-rows .st-row > b, .tc-rows .st-row > b { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 14px; }
.tc-em { font-style: normal; font-size: 16px; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.tc-r { color: var(--tg-accent-d, #d4581e); }
.cr-mw { justify-content: flex-start; margin: 14px 0 6px; }
.cr-tags { margin: 0 0 6px; padding-top: 0; border-top: 0; }
.cr-yes { color: var(--tg-main-d); }
.cr-no { color: #9aa0aa; font-weight: normal; }
.cr-note { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: #4a5160; }

/* 반응형 (맨 끝) */
@media screen and (max-width:900px) {
	.ml-days { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
	.sc-svc { grid-template-columns: 1fr; }
	.si-grid { grid-template-columns: 1fr; }
	.si-hero { flex-wrap: wrap; }
	.si-links { flex-direction: row; flex-wrap: wrap; width: 100%; }
	.si-links .radiusMidAni { flex: 1; min-width: 0; }
	.st-bigs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	}
@media screen and (max-width:600px) {
	.tt-card { padding: 14px 12px; }
	.tt-grid td { padding: 8px 2px !important; font-size: 12px; }
	.tt-grid td.tt-pw, .tt-grid td.tt-p { width: 30px; }
	.tt-em { display: block; margin: 0 auto 3px; font-size: 18px; }	/* 좁은 화면 : 이모지 위, 과목 아래 */
	.tt-grade > b { flex-basis: 44px; }
	.tt-sch td.tt-ad { display: none; }
	.ml-days { grid-template-columns: 1fr; }

	.sc-today { grid-template-columns: 1fr; }
	.sd-day { min-height: 54px; padding: 4px 3px; }
	.sd-day b { font-size: 13px; }
	.sd-day.today b { width: 22px; height: 22px; }
	.sd-ev { padding: 0; height: 5px; border-radius: 3px; background: var(--tg-main); font-size: 0; overflow: hidden; }	/* 좁은 화면 : 막대 표시 + 아래 목록 */
	.sd-ev.off { background: #E2685A; }
	.sd-mlist { display: block; }
	.sd-hd { font-size: 13px; padding: 7px 0; }
	#tb_menu, #tb_menu tbody { display: block; width: 100%; }	/* 탭 8개 : 좁은 화면은 4칸씩 2줄 */
	#tb_menu tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	#tb_menu > tbody > tr > td { display: block; width: auto !important; padding-left: 2px !important; padding-right: 2px !important; text-align: center; white-space: nowrap; }
	#tb_menu td.tt-fill { display: none; }
	.si-badge { width: 60px; height: 60px; border-radius: 18px; font-size: 32px; }
	.si-name { flex-basis: calc(100% - 80px); }
	.st-bigs { gap: 6px; }
	.st-big { padding: 10px 4px; }
	.st-big i { font-size: 22px; }
	.st-row { grid-template-columns: 44px minmax(0, 1fr) 84px; gap: 8px; }
	.tt-week { width: 100%; justify-content: space-between; }	/* 지난주 왼쪽 끝 · 날짜 가운데 · 다음주 오른쪽 끝 */
	.tt-week b { flex: 1; text-align: center; margin: 0; }
	.cr-rows .st-row, .tc-rows .st-row { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 8px; }
	.cr-rows .st-row > b, .tc-rows .st-row > b { font-size: 13.5px; gap: 4px; }
	}
/* 교복 (info.asp, 학교알리미 공시 73) : 있음·없음 = 아이콘 칸 색/흐림 */
.uf-state { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--tg-tint-l); }
.uf-state > i { flex: none; font-style: normal; font-size: 36px; line-height: 1; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.uf-state > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.uf-state b { font-size: clamp(16px, .4vw + 14px, 18px); color: var(--tg-deep); }
.uf-state small { font-size: 13.5px; color: #6b7280; word-break: keep-all; }
.uf-state.no { background: #f4f5f7; }
.uf-state.no > i { filter: grayscale(1); opacity: .55; }
.uf-tiles { display: flex; gap: 10px; margin-top: 12px; }
.uf-tiles > .uf-tile { flex: 1 1 0; min-width: 0; }
.uf-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border: 1px solid var(--tg-line); border-radius: 14px; background: #fff; text-align: center; transition: background .2s, border-color .2s; }
.uf-tile i { font-style: normal; font-size: 32px; line-height: 1.2; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.uf-tile b { font-size: 15px; color: #2b2f3a; }
.uf-tile span { font-size: 13px; color: #9aa0aa; }
.uf-tile small { font-size: 13px; color: var(--tg-accent-d, #d4581e); }
.uf-tile.on { background: var(--tg-tint-l); border-color: var(--tg-tint); }
.uf-tile.on:hover { background: var(--tg-tint); }
.uf-tile.on span { color: var(--tg-main-d); font-weight: bold; }
.uf-tile:not(.on) i { filter: grayscale(1); opacity: .4; }
.uf-grp { margin-top: 14px; }
.uf-grp h3 { margin: 0 0 8px; font-size: 14.5px; color: var(--tg-deep); }
.uf-items { display: flex; flex-wrap: wrap; gap: 8px; }
.uf-item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--tg-tint-l); font-size: 14px; color: #2b2f3a; transition: background .2s; }
.uf-item:hover { background: var(--tg-tint); }
.uf-item i { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; font-style: normal; font-size: 17px; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.uf-item small { font-size: 12.5px; color: #6b7280; }
.uf-list { margin-top: 14px; padding-top: 4px; border-top: 1px dashed #e3eaec; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.uf-list .si-item:first-child, .uf-list .si-item { border-top: 0; padding-top: 10px; }
@media screen and (max-width:760px) {
	.uf-list { grid-template-columns: minmax(0, 1fr); }
	.uf-list .si-item + .si-item { border-top: 1px dashed #e3eaec; }
	}
@media screen and (max-width:600px) {
	.uf-tiles { gap: 6px; }
	.uf-tile { padding: 10px 4px; }
	.uf-tile i { font-size: 28px; }
	.uf-state { padding: 12px; gap: 10px; }
	.uf-state > i { font-size: 30px; }
	}
/* 학교 머리 지역 : 주소 앞과 같으면 PC 에서 감춤 (neis_inc.asp NE_RgDup) */
.tt-info .tt-rg.dup { display: none; }
/* 식단표 아래 우리 학교 급식 (meal.asp, 학교알리미 공시 34·35) */
.mf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--tg-tint-l); font-size: 14px; color: #2b2f3a; transition: background .2s; }
.mf-chip:hover { background: var(--tg-tint); }
.mf-chip i { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; font-style: normal; font-size: 16px; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
.mf-chip b { color: var(--tg-deep); }
.mf-pay { margin-top: 14px; }
.mf-lbl { display: block; margin-bottom: 6px; font-size: 14px; font-weight: bold; color: var(--tg-deep); }
.mf-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #eef1f3; }
.mf-bar i { display: block; }
.mf-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; font-size: 13px; color: #4a5160; }
.mf-leg span { display: inline-flex; align-items: center; gap: 5px; }
.mf-leg i { display: block; width: 10px; height: 10px; border-radius: 3px; }
.mf-pay .a { background: var(--tg-main); }
.mf-pay .b { background: #7fd0cc; }
.mf-pay .c { background: var(--tg-accent); }
.mf-pay .d { background: #b8c0cc; }
@media screen and (max-width:600px) {
	.tt-info .tt-rg.dup { display: inline; }
	.mf-chip { font-size: 13.5px; }
	}
@media screen and (max-width:380px) {
	#tb_menu > tbody > tr > td { padding-left: 0 !important; padding-right: 0 !important; letter-spacing: -.04em; }	/* 방과후·돌봄 한 칸에 */
	#tb_menu > tbody > tr > td font { font-size: 14.5px !important; }
	}
@media (prefers-reduced-motion: reduce) {
	.ml-day, .sc-card { transition: none; }
	.mt-steam, .ml-day:hover .mt-cut span { animation: none; }
	.mt-steam b { display: none; }
	}
