#mac-chip-popup {
  position: fixed;
  inset: 0;
  width: min(640px, calc(100% - 32px));
  height: fit-content;
  max-width: none;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #181350;
}
#mac-chip-popup::backdrop { background: rgba(0, 0, 0, 0.4); }
.mac-popup-box {
  position: relative;
  padding: 60px;
  text-align: center;
}
.mac-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.mac-popup-close img { display: block; }
.mac-popup-title {
  margin: 0 0 22px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}
.mac-popup-subtitle {
  margin: 0 0 40px;
  font-size: 20px;
  font-weight: 600;
}
.mac-popup-btns {
  display: grid;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(173, 170, 178, 0.3);
}
.mac-popup-btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 24px;
  border-radius: 6px;
  color: #fff;
  text-align: left;
}
.mac-popup-btn-intel { background: #006ffa; }
.mac-popup-btn-intel:hover { background: #005ad2; }
.mac-popup-btn-apple { background: #2dcb7a; }
.mac-popup-btn-apple:hover { background: #25b36e; }
.mac-popup-btn img { flex: none; }
.mac-popup-btn-text {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 3px;
}
.mac-popup-btn-main {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}
.mac-popup-btn-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.25;
}
.mac-popup-current {
  flex: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: #d7f9e9;
  color: #008735;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.mac-popup-chevron {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.mac-popup-chevron::before {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.mac-popup-support {
  display: inline-block;
  margin-top: 40px;
  color: #006ffa;
  font-size: 14px;
  font-weight: 600;
}
.mac-popup-support:hover { text-decoration: underline; }
.mac-popup-sysreq {
  margin: 12px 0 0;
  color: #8f8baa;
  font-size: 14px;
}
#mac-chip-popup :focus-visible {
  outline: 2px solid #181350;
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .mac-popup-box { padding: 46px 18px 28px; }
  .mac-popup-title { margin-bottom: 12px; font-size: 28px; }
  .mac-popup-subtitle { margin-bottom: 24px; font-size: 16px; }
  .mac-popup-btns { gap: 12px; padding-top: 24px; }
  .mac-popup-btn { gap: 8px; padding: 10px; min-height: 60px; }
  .mac-popup-btn img { width: 24px; height: 24px; }
  .mac-popup-btn-main { font-size: 14px; }
  .mac-popup-current { padding: 5px 8px; font-size: 12px; }
  .mac-popup-chevron { width: 18px; height: 18px; }
  .mac-popup-support { margin-top: 24px; }
  .mac-popup-sysreq { margin-top: 8px; }
}
