@font-face {
  font-family: "AOK Manifesto Black Strike";
  src: url("aok-manifesto.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
* { box-sizing: border-box; }
:root { color-scheme: dark; --display: "AOK Manifesto Black Strike", "Arial Black", sans-serif; }
body { min-height: 100vh; }
.wrap { width: min(100% - 28px, 1520px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--kb-line); padding: 5px 0; }
.masthead__row { display: flex; align-items: center; gap: 14px; }
.masthead__logo { width: 80px; height: 40px; object-fit: contain; }
.masthead h1 { font: 400 14px/1 var(--display); margin: 0; letter-spacing: .08em; }
#board-frame { padding: 16px 0 24px; }
.kb-t2-headrow .group__title { white-space: normal; font: 400 20px/1.15 var(--display); letter-spacing: .06em; text-shadow: 0 0 10px #ffffff20; }
.kb-t2-headrow { margin-bottom: 4px; }
.kb-t2-head, .kb-t2-row { grid-template-columns: 36px 66px minmax(0,1fr) 44px minmax(96px, 22%); }
.kb-t2-row { border: 0; border-bottom: 1px solid #1c2022; background: transparent; text-align: start; width: 100%; min-height: 42px; }
.kb-t2-row .t, .kb-t2-head span:nth-child(4) { text-align: center; }
.kb-t2-head { color: #9aa3a0; }
.kb-t2-cues { min-height: 134px; }
.kb-t2-hint { color: #9aa3a0; }
.kb-t2-keys button { min-height: 36px; }
.kb-t2-qn b { white-space: nowrap; }
.kb-t2-qn span { white-space: normal; overflow-wrap: anywhere; }
#board-frame #board-arm-go { font-family: var(--display); }
#board-action { font-size: clamp(24px,3.8vw,54px); }
#board-action-hint { padding: 0 4px; line-height: 1.2; }
#board-progress { appearance: none; display: block; width: 100%; height: 6px; border: 1px solid var(--kb-line-hi); border-radius: 3px; background: #0a0c0d; overflow: hidden; margin: 9px 0; }
#board-progress::-webkit-progress-bar { background: #0a0c0d; }
#board-progress::-webkit-progress-value { background: var(--kb-go); }
#board-progress::-moz-progress-bar { background: var(--kb-go); }
#board-now { font-weight: 700; margin-top: 12px; white-space: normal; }
#board-standby.drop-target { outline: 2px solid var(--kb-korange); }
.kb-t2-actions button { overflow-wrap: anywhere; }
button:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
button:enabled:hover { filter: brightness(1.16); }
html.shaped .kb-t2-page *, html.shaped .masthead * { letter-spacing: normal; }
html.shaped .kb-t2-page, html.shaped .kb-t2-page button {
  font-family: system-ui, "Leelawadee UI", "Myanmar Text", sans-serif;
}
@media(max-width:850px) {
  #g-music-files .kb-t2-actions { gap: 6px; grid-template-columns: minmax(0,1.2fr) minmax(0,2.2fr) minmax(0,1.25fr) minmax(0,1.6fr) 0 minmax(0,1fr); }
  #g-music-files .kb-t2-actions button { padding-inline: 4px; letter-spacing: .04em; }
  #g-music-files .kb-t2-actions .kb-t2-bgmoutbig, #g-music-files .kb-t2-actions .kb-t2-duckbig, #g-music-files .kb-t2-actions .kb-t2-fadebig { font-size: 15px; }
}
@media(max-width:620px) {
  .wrap { width: calc(100% - 16px); }
  #board-frame { padding: 10px 0; }
  .kb-t2-head, .kb-t2-row { grid-template-columns: 24px 49px minmax(0,1fr) 31px minmax(58px,20%); gap: 4px; padding: 0 5px; }
  .kb-t2-row .s { font-size: 9px; white-space: normal; }
  .kb-t2-qn { flex-wrap: wrap; gap: 5px; }
  .kb-t2-qn b { font-size: 25px; }
  .kb-t2-qn span { font-size: 12px; }
  #g-music-files .kb-t2-actions { grid-template-columns: repeat(6, minmax(0,1fr)); grid-template-rows: auto auto; }
  #g-music-files .kb-t2-actions button { min-height: 47px; height: auto; align-self: stretch; }
  #g-music-files .kb-t2-actions .kb-t2-gobtn { grid-column: 1/5; grid-row: 1; min-height: 66px; height: auto; }
  #g-music-files .kb-t2-actions .kb-t2-fadebig { grid-column: 5/7; grid-row: 1; }
  #g-music-files .kb-t2-actions .kb-t2-bgmoutbig { grid-column: 1/3; grid-row: 2; }
  #g-music-files .kb-t2-actions .kb-t2-duckbig { grid-column: 3/5; grid-row: 2; }
  #g-music-files .kb-t2-actions .kb-t2-stopsmall { grid-column: 5/7; grid-row: 2; }
}
