/* School Battle app shell. Loaded only on school-battle routes. */
.schoolbattle-body{min-width:0;margin:0;padding-bottom:calc(82px + env(safe-area-inset-bottom));color:#1f2937;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:16px;line-height:1.55}
.schoolbattle-body *{box-sizing:border-box}
.schoolbattle-shell{min-height:100vh;background:#fff}
.schoolbattle-appbar{position:sticky;top:0;z-index:30;border-bottom:1px solid #e0f2fe;background:#fff;box-shadow:0 2px 8px rgba(14,165,233,.06)}
.schoolbattle-appbar__inner{display:flex;width:calc(100% - 28px);max-width:1120px;min-height:48px;align-items:center;justify-content:space-between;gap:10px;margin:0 auto}
.schoolbattle-brand-group{display:flex;min-width:0;flex:1 1 auto;align-items:center;gap:8px}
.schoolbattle-brand{display:inline-flex;min-width:0;min-height:36px;align-items:center;color:#0f172a;text-decoration:none}
.schoolbattle-brand-name{overflow:hidden;font-size:15px;font-weight:850;letter-spacing:-.35px;text-overflow:ellipsis;white-space:nowrap}
.schoolbattle-season-status{display:inline-flex;flex:none;align-items:center;gap:5px;color:#0284c7;font-size:11px;font-weight:850;letter-spacing:-.1px;white-space:nowrap}
.schoolbattle-season-status:before{width:6px;height:6px;border-radius:50%;background:#38bdf8;box-shadow:0 0 0 3px #e0f2fe;content:""}
.schoolbattle-header-tools{display:flex;align-items:center;gap:5px}
.schoolbattle-goltest-logo{display:inline-flex;min-height:36px;align-items:center;color:#64748b;text-decoration:none}
.schoolbattle-goltest-logo:hover{color:#0284c7}
.schoolbattle-goltest-logo img{display:block;width:auto;height:22px;max-width:72px;object-fit:contain}
.schoolbattle-menu-toggle{display:grid;min-width:44px;min-height:44px;place-items:center;gap:4px;padding:9px;border:0;border-radius:9px;background:#fff;color:#334155;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.schoolbattle-menu-toggle:hover,.schoolbattle-menu-toggle[aria-expanded="true"]{background:#f0f9ff;color:#0284c7}
.schoolbattle-menu-toggle span{display:block;width:21px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
.schoolbattle-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.schoolbattle-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.schoolbattle-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.schoolbattle-content-width{width:calc(100% - 28px);max-width:600px;margin:0 auto}
.schoolbattle-comments-wrap{padding-bottom:24px}
.schoolbattle-comments-wrap hr{height:0;margin:18px 0 14px;border:0;border-top:1px solid #e5e7eb}
.schoolbattle-bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:40;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;padding:4px 6px env(safe-area-inset-bottom);border-top:1px solid #bae6fd;background:rgba(255,255,255,.98);box-shadow:0 -6px 18px rgba(14,165,233,.1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.schoolbattle-nav-item{display:flex;min-width:44px;min-height:58px;align-items:center;justify-content:center;gap:3px;flex-direction:column;border-radius:10px;color:#64748b;font-size:10px;font-weight:850;line-height:1.1;text-decoration:none;transition:background-color .18s ease,color .18s ease,transform .18s ease}
.schoolbattle-nav-item:hover{color:#0284c7;background:#f0f9ff}
.schoolbattle-nav-item.is-active{color:#0284c7;background:#e0f2fe}
.schoolbattle-nav-item.is-play{margin:-9px 2px 3px;border:3px solid #fff;color:#fff;background:linear-gradient(135deg,#38bdf8,#0ea5e9);box-shadow:0 6px 14px rgba(14,165,233,.28)}
.schoolbattle-nav-item.is-play:hover{color:#fff;background:linear-gradient(135deg,#0ea5e9,#0284c7);transform:translateY(-1px)}
.schoolbattle-nav-icon{display:grid;width:22px;height:22px;place-items:center}
.schoolbattle-nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.schoolbattle-nav-item.is-play .schoolbattle-nav-icon svg{width:21px;height:21px}
.schoolbattle-body a:focus-visible,.schoolbattle-body button:focus-visible{outline:3px solid #7dd3fc;outline-offset:2px}
@media(min-width:768px){.schoolbattle-body{padding-bottom:108px}.schoolbattle-bottom-nav{right:auto;bottom:16px;left:50%;width:min(720px,calc(100% - 32px));padding:5px;border:1px solid #bae6fd;border-radius:16px;transform:translateX(-50%)}.schoolbattle-nav-item{min-height:54px}}
@media(max-width:360px){.schoolbattle-brand-name{font-size:14px}.schoolbattle-season-status{gap:4px;font-size:10px}.schoolbattle-season-status:before{width:5px;height:5px}.schoolbattle-goltest-logo img{height:20px;max-width:64px}}
@media(prefers-reduced-motion:reduce){.schoolbattle-menu-toggle,.schoolbattle-menu-toggle span,.schoolbattle-nav-item{transition:none}}
