/* Text must expand naturally in longer languages. */
.pb-language1114{flex:none;max-width:120px;min-height:28px;padding:3px 6px;border:1px solid #8fa68e;border-radius:7px;font:inherit;font-size:12px;background:#eaf2e5;color:#183d30}
html:not([lang="ko"]) .sb-page :is(h1,h2,p,b,span),html:not([lang="ko"]) .book200-page :is(h1,h2,p){min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
html:not([lang="ko"]) .sb-toc li button{grid-template-columns:minmax(0,1fr) auto}
html:not([lang="ko"]) .sb-top strong{white-space:normal;line-height:1.25;overflow-wrap:anywhere}
.pb-school-links1116{display:contents}
html:not([lang="ko"]) #book .book-toolbar{grid-template-columns:minmax(180px,250px) minmax(0,1fr) auto auto;height:auto;min-height:52px}
html:not([lang="ko"]) #book .book-running-title{min-width:0;max-width:100%;position:static;display:flex;flex-direction:column;gap:2px;white-space:normal;text-align:center;line-height:1.15}
html:not([lang="ko"]) #book .book-running-title strong{font-size:clamp(16px,1.5vw,23px);white-space:normal;overflow-wrap:anywhere}
html:not([lang="ko"]) #book .book-running-title small{font-size:11px;white-space:normal}
@media(max-width:900px){
 html:not([lang="ko"]) body.school-reading .sb-stage{max-width:100%;overflow-x:clip}
 html:not([lang="ko"]) body.school-reading .school-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px 10px}
 html:not([lang="ko"]) body.school-reading .school-nav .brand{grid-column:1/-1;margin:0;min-width:0}
 html:not([lang="ko"]) body.school-reading .pb-school-links1116{display:flex;grid-column:1/-1;gap:5px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin}
 html:not([lang="ko"]) body.school-reading .pb-school-links1116 a.item{flex:0 0 auto;white-space:nowrap;padding:6px 8px}
 html:not([lang="ko"]) body.school-reading .school-nav a.item{min-width:0;padding:5px 3px;font-size:11px;line-height:1.25;justify-content:center;overflow-wrap:anywhere}
 html:not([lang="ko"]) body.school-reading .school-nav .ic{flex-shrink:0}
 html:not([lang="ko"]) body.school-reading .nav-slot{grid-column:1/-1;min-width:0;max-width:100%}
 html:not([lang="ko"]) body.school-reading .sb-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,100px);width:100%;gap:5px;padding:0}
 html:not([lang="ko"]) body.school-reading .sb-tocs{grid-column:1/-1;min-width:0;max-width:100%;width:100%;box-sizing:border-box}
 html:not([lang="ko"]) body.school-reading .sb-top strong{font-size:12px;word-break:normal}
 html:not([lang="ko"]) body.school-reading .sb-count{font-size:10px;line-height:1.3}
 html:not([lang="ko"]) body.school-reading .sb-score{grid-column:1/-1}
}
@media(max-width:1000px){
 html:not([lang="ko"]) #book .book-toolbar{grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto 34px;gap:4px;min-height:80px}
 html:not([lang="ko"]) #book .book-running-title{grid-column:1/-1;grid-row:1}
 html:not([lang="ko"]) #book .book-running-title strong{font-size:16px}
 html:not([lang="ko"]) #book .book-toolbar label{grid-column:1;grid-row:2}
 html:not([lang="ko"]) #book #close-book{grid-column:2;grid-row:2}
 html:not([lang="ko"]) #book #book-fullscreen{grid-column:3;grid-row:2}
}
html:not([lang="ko"]) button,html:not([lang="ko"]) label,html:not([lang="ko"]) p,html:not([lang="ko"]) h1,html:not([lang="ko"]) h2,html:not([lang="ko"]) h3{overflow-wrap:anywhere}
html:not([lang="ko"]) .site-header nav{min-width:0;gap:clamp(6px,1vw,20px)}
html:not([lang="ko"]) .site-header nav a{white-space:normal;text-align:center}
html:not([lang="ko"]) .site-header nav{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
html:not([lang="ko"]) .site-header nav a{white-space:nowrap;flex-shrink:0}
html:not([lang="ko"]) .member-account-shell .social button{height:auto;min-height:48px;white-space:normal;line-height:1.4;padding-block:10px;padding-right:48px}
html:not([lang="ko"]) .member-account-shell .social small{position:static;display:block;transform:none;font-size:10px}
html:not([lang="ko"]) .friends43-head>*{min-width:0;max-width:100%}
html:not([lang="ko"]) .pbfoot-in,html:not([lang="ko"]) .pbfoot-info{min-width:0;max-width:100%}
html:not([lang="ko"]) .pbfoot-line>*{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}
@media(max-width:800px){html:not([lang="ko"]) .friends43-head{display:flex;flex-direction:column;align-items:stretch}html:not([lang="ko"]) .friends43-head h2{white-space:normal}}
html:not([lang="ko"]) .game-toolbar button,html:not([lang="ko"]) .g-top button,html:not([lang="ko"]) .s-top button{overflow-wrap:normal;white-space:nowrap;flex-shrink:0}
@media(max-width:800px){.pb-language1114{max-width:105px;font-size:11px}html:not([lang="ko"]) .site-header nav{overflow-x:auto;flex-wrap:nowrap}html:not([lang="ko"]) .site-header nav a{white-space:nowrap}}
html:not([lang="ko"]) .home1106b .hero-actions :is(.gold-button,.film-link){white-space:normal;height:auto;min-height:48px;overflow-wrap:anywhere}
html:not([lang="ko"]) .home1106b .hero-actions :is(.gold-button,.film-link)>span{flex:none}
html:not([lang="ko"]) .home1106b .install-footer1107{flex-wrap:wrap;row-gap:3px}
html:not([lang="ko"]) .home1106b .install-devices{white-space:normal;min-width:0;flex:1 1 140px;line-height:1.4}
html:not([lang="ko"]) .js-study .js-nav>*{flex-shrink:0}
html:not([lang="ko"]) .js-study .js-nav{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}
html:not([lang="ko"]) .js-study .js-count{max-width:180px;white-space:normal;line-height:1.3}
html:not([lang="ko"]) .js-study .js-top .js-back:has(svg){width:30px;height:28px;padding:4px;display:grid;place-items:center}
html:not([lang="ko"]) body .g-top .g-back:not(:has(svg)){width:auto!important;min-width:30px!important;padding-inline:8px}
html:not([lang="ko"]) .g-panel .match-actions button{white-space:normal;height:auto;min-height:34px;line-height:1.35;padding:6px 4px}
@media(max-width:860px){html:not([lang="ko"]) .js-study .js-top{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;min-height:42px}html:not([lang="ko"]) .js-study .js-top>*{flex-shrink:0}}
