html.oly-research-gate-open,
body.oly-research-gate-open { overflow: hidden !important; }

.oly-research-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .28s ease;
}
.oly-research-gate.is-visible { display: flex; opacity: 1; }
.oly-research-gate-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(57,89,255,.22), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(145,67,255,.18), transparent 30%),
    rgba(3,5,10,.97);
  backdrop-filter: blur(16px);
}
.oly-research-gate-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 48px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18,23,38,.98), rgba(8,11,19,.99));
  box-shadow: 0 45px 120px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.05);
  color: #f7f8fc;
  font-family: Inter, Arial, sans-serif;
}
.oly-research-gate-brand { display: inline-flex; flex-direction: column; line-height: 1; }
.oly-research-gate-brand-main { font-size: clamp(30px,5vw,46px); font-weight: 900; letter-spacing: .08em; }
.oly-research-gate-brand-sub { margin-top: 7px; color: #949daf; font-size: 10px; font-weight: 700; letter-spacing: .32em; }
.oly-research-gate-kicker { margin-top: 46px; color: #91a0ff; font-size: 11px; font-weight: 900; letter-spacing: .22em; }
.oly-research-gate-panel h1 { max-width: 650px; margin: 14px 0 18px; color: #fff; font-size: clamp(38px,6vw,64px); line-height: .98; letter-spacing: -.05em; }
.oly-research-gate-lead { max-width: 650px; margin: 0; color: #b4bdcc; font-size: clamp(17px,2vw,20px); line-height: 1.65; }
.oly-research-gate-notice {
  margin-top: 28px; padding: 20px; display: grid; grid-template-columns: 42px 1fr; gap: 16px;
  border: 1px solid rgba(255,183,76,.24); border-radius: 15px; background: rgba(255,174,51,.06);
}
.oly-research-gate-notice-icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,174,51,.14); color: #ffc46b; font-weight: 900;
}
.oly-research-gate-notice strong { display: block; color: #fff; font-size: 16px; }
.oly-research-gate-notice p { margin: 7px 0 0; color: #aeb6c4; line-height: 1.6; }
.oly-research-gate-check {
  margin-top: 26px; padding: 18px; display: grid; grid-template-columns: 26px 1fr; gap: 14px;
  align-items: start; border: 1px solid rgba(255,255,255,.10); border-radius: 14px;
  background: rgba(255,255,255,.035); color: #d7dbe4; line-height: 1.58; cursor: pointer;
}
.oly-research-gate-check input { position: absolute; opacity: 0; pointer-events: none; }
.oly-research-gate-checkmark {
  width: 24px; height: 24px; position: relative; border: 1px solid rgba(255,255,255,.3);
  border-radius: 7px; background: rgba(0,0,0,.25);
}
.oly-research-gate-check input:focus-visible + .oly-research-gate-checkmark { outline: 2px solid #8da0ff; outline-offset: 3px; }
.oly-research-gate-check input:checked + .oly-research-gate-checkmark {
  border-color: transparent; background: linear-gradient(135deg,#5670ff,#a35cff);
}
.oly-research-gate-check input:checked + .oly-research-gate-checkmark::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.oly-research-gate-error { min-height: 22px; margin: 10px 0 0; color: #ff8f9b; font-size: 13px; font-weight: 700; }
.oly-research-gate-actions { display: grid; grid-template-columns: 1.35fr .8fr; gap: 12px; margin-top: 10px; }
.oly-research-gate-enter,
.oly-research-gate-exit {
  min-height: 54px; border-radius: 11px; cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.oly-research-gate-enter {
  border: 0; background: linear-gradient(135deg,#546dff,#9d5cff); color: #fff;
  box-shadow: 0 14px 35px rgba(85,89,255,.28);
}
.oly-research-gate-enter:disabled { cursor: not-allowed; opacity: .38; filter: grayscale(.25); box-shadow: none; }
.oly-research-gate-exit { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.035); color: #d7dbe4; }
.oly-research-gate-meta { margin-top: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; color: #7f899c; font-size: 12px; }
.oly-research-gate-meta a { color: #9bacff; text-decoration: none; }

@media (max-width: 700px) {
  .oly-research-gate { padding: 12px; align-items: flex-start; }
  .oly-research-gate-panel { max-height: calc(100vh - 24px); padding: 28px 22px; border-radius: 18px; }
  .oly-research-gate-kicker { margin-top: 34px; }
  .oly-research-gate-actions { grid-template-columns: 1fr; }
}