.loginRoot {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.loginStack {
  width: min(860px, 100%);
  position: relative;
  display: grid;
  justify-items: center;
}

.loginCard {
  width: min(460px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 12px;
}

.loginBrandRow {
  display: flex;
  align-items: center;
  gap: 18px;
}

.loginBrandEgg {
  width: 92px;
  height: 92px;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
}

.loginBrandTitle {
  margin: 0;
  font-size: 22px;
  line-height: 1;
}

.loginCard input {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0f1117;
  padding: 0 12px;
}

.loginCard textarea {
  min-height: 96px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0f1117;
  padding: 10px 12px;
  resize: vertical;
}

.sessionInfo {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #101218;
  padding: 10px 12px;
  font-size: 14px;
}

.cookieModal {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 14, 0.72);
  display: grid;
  place-items: center;
  z-index: 12;
  border-radius: 16px;
  padding: 14px;
}

.cookieModal[hidden] {
  display: none !important;
}

.cookieDialog {
  width: min(760px, 100%);
  max-height: min(78vh, 680px);
  background: #141416;
  color: #e4e4e7;
  border-radius: 16px;
  border: 1px solid #2b2b31;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.cookieDialogScroll {
  padding: 24px;
  overflow: auto;
}

.cookieBrandRow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cookieBrandLogoSlot {
  width: 104px;
  height: 104px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookieBrandEgg {
  width: 80px;
  height: 80px;
  border-radius: 0;
  object-fit: contain;
}

.cookieBrandText {
  display: grid;
  gap: 2px;
}

.cookieBrandName {
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.cookieBrandInline {
  color: #fff;
  font-weight: 800;
}

.cookieDialogScroll h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.14;
}

.cookieDialogScroll p,
.cookieDialogScroll li {
  font-size: 22px;
  line-height: 1.42;
}

.cookieDialogActions {
  border-top: 1px solid #2b2b31;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  background: #0f1014;
}

.cookieDialogActions .btnGhost {
  background: #17171b;
  border-color: #2b2b31;
  color: #e4e4e7;
  font-weight: 700;
}

.cookieDialogActions .btnPrimary {
  background: #17171b;
  border-color: #2b2b31;
  color: #e4e4e7;
}

@media (max-width: 1200px) {
  .loginStack {
    width: min(520px, 100%);
  }

  .cookieDialogScroll h2 {
    font-size: 26px;
  }

  .cookieDialogScroll p,
  .cookieDialogScroll li {
    font-size: 18px;
  }

  .cookieDialogActions {
    grid-template-columns: 1fr;
  }
}
