/* 대표 로고: 모든 화면 같은 '타자팡 ✦ 모아팡' 그림 로고 (타자팡 화면 위쪽과 같음) */
.brands{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none}
.brand-icon{width:52px;height:52px;border-radius:14px;border:3px solid var(--ink,#1B1F3B);box-shadow:0 4px 0 var(--ink,#1B1F3B);transition:transform .15s}
.brand-word{height:44px;width:auto;display:block;filter:drop-shadow(0 2px 0 rgba(27,35,64,.25));transition:transform .15s}
.brand:hover .brand-icon{transform:translateY(-2px) rotate(-3deg)}
.brand:hover .brand-word{transform:translateY(-2px) scale(1.03)}
.brand:focus-visible{outline:4px solid #FF8A3D;outline-offset:3px}
.brand-sep{color:#ffe14d;font-size:22px;text-shadow:-2px 0 0 var(--ink,#1B1F3B),2px 0 0 var(--ink,#1B1F3B),0 -2px 0 var(--ink,#1B1F3B),0 2px 0 var(--ink,#1B1F3B)}
/* 2026-12-01 선생님 요청 "같은 별 2개 삭제": 로고 사이 ✦ 별은 모든 화면에서 안 보이게, 로고 사이를 조금 넓힘 */
.brand-sep{display:none!important}
@media (max-width:639px){.brand-icon{width:38px;height:38px;border-width:2px}.brand-word{height:30px}.brands{gap:8px}}
/* 작은 로고 (선생님 화면·교실·패들렛처럼 위쪽 띠가 좁은 곳) */
.brands.sm{gap:8px}
.brands.sm .brand{gap:6px}
.brands.sm .brand-icon{width:40px;height:40px;border-radius:11px;border-width:2px;box-shadow:0 3px 0 var(--ink,#1B1F3B)}
.brands.sm .brand-word{height:32px}
.brands.sm .brand-sep{font-size:17px}
@media (max-width:639px){.brands.sm .brand-word{height:24px}.brands.sm .brand-icon{width:32px;height:32px}}
/* 아이콘은 배경·테두리 없이 캐릭터만 (2026-11-29) */
.brand-icon,.brands.sm .brand-icon{border:0;border-radius:0;box-shadow:none;object-fit:contain;filter:drop-shadow(0 3px 2px rgba(27,31,59,.3))}

/* 맨 위 띠: 타자팡 위쪽 띠와 같은 모양, 모아팡은 연두 (모아팡 글자 색) */
@font-face{font-family:'Galmuri11';src:url(../assets/fonts/Galmuri11-Bold.woff2) format('woff2');font-weight:400 700;font-display:swap}
.moa-strip{position:relative;z-index:6;display:flex;align-items:center;justify-content:center;gap:10px;padding:5px 12px;background:repeating-linear-gradient(90deg,#C8F171 0 14px,#9EDB4B 14px 28px);color:#1F3A0B;border-bottom:3px solid #1F3A0B;font:700 13px/1.4 'Galmuri11','Jua','Noto Sans KR',monospace;text-align:center}
.moa-strip-chip{background:#1F3A0B;color:#C8F171;border:2px solid #1F3A0B;border-radius:4px;padding:2px 10px;white-space:nowrap}
.moa-strip-text{animation:moaBlinkSoft 1.8s steps(2) infinite}
.moa-strip .sp{display:inline-block;animation:moaBounce 1s infinite}
@keyframes moaBlinkSoft{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes moaBounce{0%,100%{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}
@media (prefers-reduced-motion:reduce){.moa-strip-text,.moa-strip .sp{animation:none}}
@media (max-width:639px){.moa-strip-text{display:none}}
html.embed .moa-strip{display:none}

/* 학생 화면 미리보기 띠 (선생님) */
.pv-bar{position:sticky;top:0;z-index:70;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;padding:7px 12px;background:#1B1F3B;color:#fff;font:700 14px/1.4 'Noto Sans KR',sans-serif;border-bottom:3px solid #C8F171;text-align:center}
.pv-bar b{color:#C8F171;font:400 17px/1.2 'Jua','Noto Sans KR',sans-serif}
.pv-back{display:inline-flex;align-items:center;min-height:36px;padding:3px 12px;background:#C8F171;color:#1B1F3B;border:3px solid #fff;text-decoration:none;font:400 16px/1 'Jua','Noto Sans KR',sans-serif;white-space:nowrap}
.pv-back:hover{background:#fff}

/* 깔끔한 모양 (2026-11-25): 위 띠는 줄무늬·굵은 선 없이 얇게 */
.moa-strip{background:linear-gradient(90deg,#D9F5B0,#C8EE8E);border-bottom:0;box-shadow:0 1px 4px rgba(16,24,40,.12)}
.moa-strip-chip{border-radius:999px}

/* 위 띠 오른쪽 '바로가기 추가' 단추 (js/install.js) — 설치할 수 있을 때만 보임, 그림자 없이 평평하게 */
.moa-strip.has-install{padding-right:160px}
.moa-install{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:5px;padding:5px 14px 5px 11px;border:0;border-radius:999px;background:#fff;color:#1F3A0B;font:700 13px/1.4 'Galmuri11','Jua','Noto Sans KR',sans-serif;cursor:pointer;white-space:nowrap;box-shadow:none;transition:background .12s,color .12s}
.moa-install:hover{background:#1F3A0B;color:#C8F171}
.moa-install:focus-visible{outline:3px solid #FF8A3D;outline-offset:2px}
.moa-install.ready{background:#5CB84A;color:#fff}
.moa-install.ready .moa-install-i{background:#fff;color:#2F7A22}
.moa-install.ready:hover{background:#2F7A22;color:#fff}
.moa-install.done{background:#F1F8E9;color:#3B5321}
.moa-install.done .moa-install-i{background:#9CC67A}
.moa-install-i{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#5CB84A;color:#fff;font-size:12px;line-height:1}
@media (max-width:639px){.moa-strip.has-install{padding-right:118px}.moa-install{right:6px;padding:4px 11px 4px 9px;font-size:12px}}
.moa-install-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:2147483001;padding:10px 18px;border-radius:999px;background:#1F3A0B;color:#C8F171;font:700 14px/1.4 'Noto Sans KR',sans-serif;transition:opacity .3s}
.moa-install-toast.bye{opacity:0}
/* 별(✦)을 뺀 만큼 로고 사이를 조금 넓힘 (2026-12-01) */
.brands{column-gap:22px}.brands.sm{column-gap:14px}
@media (max-width:639px){.brands{column-gap:14px}}
