/* Locally hosted OFL font; generated panel artwork uses nine-slice borders. */
@font-face{font-family:GamePixel;src:url("./assets/fonts/NeoDunggeunmoPro-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
html body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif}
button,input,select,textarea{font-family:inherit}
body :is(h1,.brand-name,.story-card>strong,.student-hud strong,.button,.hud-button,.control,.text-button,.journey-help){font-family:GamePixel,"Malgun Gothic",sans-serif;font-weight:400;letter-spacing:0}
body :is(p,blockquote,.choice-copy,.story-clues,.support-detail,.flow-list,.story-review,.teacher-skill){word-break:keep-all;overflow-wrap:anywhere}
body :is(.choice-copy,.story-review,.teacher-skill,.support-detail){line-height:1.65}
body :is(.button,.hud-button,.control,.journey-help){
  border:10px solid transparent;border-image:url("./assets/pixel-ui/button.png") 80 fill / 10px / 0 stretch;
  border-radius:0;background:transparent;color:#07372e;box-shadow:none;text-shadow:none;
  image-rendering:pixelated;min-height:44px;
}
body :is(.button,.hud-button,.control,.journey-help):hover{filter:brightness(1.08);background:transparent}
body :is(.button,.hud-button,.control,.journey-help):active{transform:translateY(2px);filter:brightness(.93)}
body :is(.story-detail,.choice-button,.learning-summary,dialog,.certificate-card){
  border:12px solid transparent;border-image:url("./assets/pixel-ui/panel.png") 90 fill / 12px / 0 stretch;
  border-radius:0;background:transparent;box-shadow:none;image-rendering:pixelated;color:#163c3c;
}
body .choice-button:hover{background:transparent;filter:brightness(.97)}
body .story-card{border-radius:0;box-shadow:4px 4px 0 #153e43;border:3px solid #33857b}
body .story-card[aria-pressed="true"]{outline:3px solid #ffd850;outline-offset:3px}
body .story-card.is-complete{border-color:#15814d}
body :is(.item-picture,.inventory-slot,.skill-badge,.completion-badge,.selection-check,.speed-picker label){border-radius:0}
body :is(.student-hud,.path-rail,.inventory-button,.light-counter,.team-strip,.scene-hint){border-radius:0}
body button:focus-visible,body summary:focus-visible{outline:3px dashed #b65b00;outline-offset:4px}
body dialog::backdrop{background:#092d47aa}
body .text-button{border:2px solid #14565d;border-radius:0;background:#e1f7db;box-shadow:2px 2px 0 #14565d;min-height:44px;padding:8px 12px}
body.is-playing .choice-panel:is(.is-choice,.is-feedback){border:12px solid transparent;border-image:url("./assets/pixel-ui/panel.png") 90 fill / 12px / 0 stretch;border-radius:0;background:transparent;box-shadow:none;image-rendering:pixelated}
#departure-dialog .departure-story{border-radius:0}
body .story-detail blockquote,body .choice-copy span,body dialog p{line-height:1.65}
@media(max-width:600px){body :is(.story-detail,.choice-button,dialog){border-width:8px;border-image-width:8px}body .choice-copy strong{line-height:1.4}}
