.kiosk-portrait {
  background: #000 !important;
  color: #fff;
}

.kiosk-portrait .branded-bg,
.kiosk-portrait .branded-overlay,
.kiosk-portrait .branded-logo-slot {
  display: none !important;
}

.kiosk-logo {
  width: min(78vw, 420px);
  height: auto;
  margin: 0.4rem auto 0.8rem;
  display: block;
}

.kiosk-portrait .quiz-shell header,
.kiosk-portrait #countdownDisplay {
  color: #d7ecff;
}

.kiosk-portrait #countdownDisplay {
  font-size: clamp(2rem, 6vh, 3.2rem);
  line-height: 1;
  color: #33a0e6;
}

.kiosk-portrait #questionPanel h2 {
  font-size: clamp(1.3rem, 3vh, 1.9rem);
  line-height: 1.3;
}

.kiosk-portrait .option-card {
  min-height: 4.2rem;
  font-size: 1.08rem;
  line-height: 1.3;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}

.kiosk-portrait form input,
.kiosk-portrait form button {
  min-height: 3.4rem;
  font-size: 1.05rem;
}

body.home-body {
  margin: 0;
  height: 100dvh;
  overflow: hidden;
  background: #041433;
  user-select: none;
  -webkit-user-select: none;
}

.home-kiosk {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  font-family: Montserrat, Poppins, sans-serif;
  color: #fff;
}

.home-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.home-stack {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6.5vh 7vw 5vh;
  box-sizing: border-box;
  transition: transform 180ms ease;
}

.home-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(78vw, 760px);
}

.home-mark {
  position: relative;
  width: clamp(220px, 42vw, 500px);
  aspect-ratio: 512 / 414;
  overflow: hidden;
}

.home-mark img {
  position: absolute;
  width: 200%;
  height: calc(819 / 414 * 100%);
  max-width: none;
  left: -50%;
  top: calc(-134 / 414 * 100%);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.home-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  margin: clamp(8px, 1.2vh, 18px) 0 0;
  width: 100%;
  color: #8eb6ef;
  font-weight: 600;
  font-size: clamp(16px, 2.15vw, 28px);
  line-height: 1.25;
  text-align: center;
}

.home-subtitle .rule {
  flex: 1 1 48px;
  max-width: 92px;
  height: 2px;
  background: #6f8fd4;
}

.home-intro {
  margin-top: clamp(16px, 3.4vh, 72px);
  text-align: center;
  width: min(90vw, 920px);
}

.home-intro h1 {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.home-intro p {
  margin: clamp(10px, 1.4vh, 22px) auto 0;
  max-width: 16em;
  color: #d5dce8;
  font-weight: 500;
  font-size: clamp(20px, 3.35vw, 36px);
  line-height: 1.28;
}

.home-stats {
  width: 86%;
  max-width: 980px;
  margin-top: clamp(18px, 5vh, 110px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 22px);
}

.home-stat {
  min-height: clamp(64px, 6.4vh, 108px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  padding: 0 clamp(14px, 1.6vw, 26px);
  border-radius: clamp(16px, 1.6vw, 24px);
  background: rgba(7, 20, 58, 0.55);
  border: 1.5px solid #2a67d8;
  color: #fff;
  font-weight: 700;
  font-size: clamp(18px, 2.3vw, 32px);
  line-height: 1;
}

.home-stat img {
  width: clamp(28px, 3.4vw, 46px);
  height: clamp(28px, 3.4vw, 46px);
  flex: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.home-stat .sep {
  width: 2px;
  align-self: stretch;
  margin: clamp(12px, 1.4vh, 20px) 0;
  background: #2f7bff;
}

.home-card {
  width: 86%;
  max-width: 980px;
  margin-top: clamp(16px, 4.2vh, 90px);
  background: #fff;
  color: #10224a;
  border-radius: clamp(24px, 3.7vw, 40px);
  padding: clamp(22px, 4.6vw, 50px);
  box-sizing: border-box;
}

.home-card label {
  display: block;
  margin: 0 0 clamp(10px, 1.2vh, 18px);
  color: #10224a;
  font-weight: 800;
  font-size: clamp(22px, 3.5vw, 38px);
  line-height: 1.1;
}

.home-card input[type="text"],
.home-card input[type="tel"] {
  width: 100%;
  height: clamp(72px, 6.8vh, 130px);
  box-sizing: border-box;
  margin: 0;
  padding: 0 clamp(16px, 1.8vw, 28px);
  border: 1.5px solid #d5dbe3;
  border-radius: clamp(14px, 1.5vw, 22px);
  background: #fff;
  color: #10224a;
  font-family: inherit;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 500;
  user-select: text;
  -webkit-user-select: text;
}

.home-card input:focus {
  outline: 3px solid rgba(0, 117, 201, 0.28);
  border-color: #0075c9;
}

.home-field + .home-field {
  margin-top: clamp(14px, 1.6vh, 24px);
}

.home-error {
  margin: 8px 0 0;
  color: #b42318;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 600;
}

.home-submit {
  width: 100%;
  height: clamp(76px, 7vh, 135px);
  margin-top: clamp(16px, 2vh, 28px);
  border: 0;
  border-radius: clamp(16px, 2.3vw, 25px);
  background: #0075c9;
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(28px, 4.45vw, 48px);
  cursor: pointer;
  transition: transform 90ms ease, filter 90ms ease;
}

.home-submit:active {
  transform: scale(0.98);
  filter: brightness(0.94);
}

.home-closed {
  text-align: center;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
}
