/* CHECK OUT TRAINING: Settings and result header, title, brand and HOME. */
.iwashi-screen-header { display: block; width: var(--iwashi-header-width,100dvw); height: auto; max-width: none; max-height: none; padding: clamp(20px, 4vw, 64px) clamp(20px, 4vw, 64px) 0px; box-sizing: border-box; border: 0px; border-radius: 0px; box-shadow: none; background: rgb(229, 231, 233); color: rgb(37, 40, 44); z-index: 3000; font-family: Arial, Helvetica, sans-serif; text-align: left; line-height: normal; position: fixed; inset: 0px 0px auto; margin: 0px; transform: none; }
.iwashi-screen-header[hidden] { display: none !important; }
.iwashi-screen-header::backdrop { display: none; }
.iwashi-header-row { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid rgb(191, 196, 202); }
.iwashi-screen-header .iwashi-header-brand { font-style: normal; font-variant: normal; font-size-adjust: none; font-language-override: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 19px; line-height: normal; font-family: Arial, Helvetica, sans-serif; letter-spacing: 0.2em; white-space: nowrap; font-weight: 800; }
.iwashi-header-icon { width: 28px; height: 28px; object-fit: contain; flex: 0 0 auto; }
.iwashi-header-home { margin-left: auto; flex: 0 0 auto; color: rgb(66, 74, 83); text-decoration: none; font: 400 11px Arial, Helvetica, sans-serif; letter-spacing: 0.08em; }
.iwashi-header-home:focus-visible { outline: rgb(66, 74, 83) solid 2px; outline-offset: 5px; }
@media (min-width:921px) and (hover:hover) and (pointer:fine) {
  :root[data-screen-flow="settings"] { --iwashi-header-width:100%; }
}
@media (max-width: 700px) {
  .iwashi-screen-header { padding: 16px 16px 0px; }
  .iwashi-header-row { padding-bottom: 16px; }
}
@media (max-width: 420px) {
  .iwashi-header-row { gap: 7px; }
  .iwashi-screen-header .iwashi-header-brand { font-size: 15px; letter-spacing: 0.12em; }
}
@media (max-height: 440px) and (orientation: landscape) and (hover: none), (max-height: 440px) and (orientation: landscape) and (pointer: coarse) {
  .iwashi-screen-header { padding: 8px 14px 0px; }
  .iwashi-header-row { padding-bottom: 6px; }
  .iwashi-screen-header .iwashi-header-brand { font-size: 15px; }
  .iwashi-header-icon { width: 24px; height: 24px; }
}
body[data-iwashi-header-screen="setup"] .iwashi-screen-header { height: 80px; padding: 0px 32px; }
body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-row { position: relative; box-sizing: border-box; display: flex; flex-wrap: nowrap; height: 80px; min-height: 0px; padding: 0px; }
body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-game { letter-spacing: 0.07em; white-space: nowrap; display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); flex: 0 0 auto; margin: 0px; font: 400 32px / 1.2 Arial, Helvetica, sans-serif; }
body[data-iwashi-header-screen="setup"] .settings-game-title { display: none; }
body[data-iwashi-header-screen="result"] .iwashi-header-game { display: none; }
@media (max-width: 920px), (pointer: coarse), (hover: none) {
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header { height: 72px; padding: 0px 16px; }
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-row { height: 72px; }
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-game { font-size: 20px; }
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-brand { font-size: 11px; letter-spacing: 0.08em; }
  body[data-iwashi-header-screen="setup"] .iwashi-header-row { gap: 4px; }
  body[data-iwashi-header-screen="setup"] .iwashi-header-icon { width: 20px; height: 20px; }
  body[data-iwashi-header-screen="setup"] .iwashi-header-home { font-size: 9px; }
}
@media (max-width: 540px) {
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-row { align-items: flex-start; padding-top: 10px; }
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-game { top: 48px; font-size: 20px; }
}
@media (max-height: 440px) and (orientation: landscape) {
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header { height: 48px; }
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-row { height: 48px; }
}
.iwashi-header-game { display: none; }
@media (orientation: landscape) and (pointer: coarse), (orientation: landscape) and (hover: none) {
  body[data-iwashi-header-screen="setup"] .iwashi-screen-header .iwashi-header-game { font-weight: 700; }
}
body[data-iwashi-header-screen="setup"] .iwashi-screen-header[data-match-settings] .iwashi-header-row { border-bottom-color: var(--settings-accent,#bfc4ca); }
