.hazel-dialup,
.hazel-dialup * {
  box-sizing: border-box;
}

.hazel-dialup {
  --hd-ink: #111a26;
  --hd-muted: #4d5c68;
  --hd-paper: #f2efe5;
  --hd-panel: #d9d7cf;
  --hd-panel-hi: #fffdf5;
  --hd-panel-lo: #777a7d;
  --hd-blue: #092a56;
  --hd-blue-2: #0d4b83;
  --hd-cyan: #4bd4da;
  --hd-warm: #ffbd43;
  --hd-red: #a93032;
  width: min(100%, 680px);
  color: var(--hd-ink);
  font-family: Tahoma, "MS Sans Serif", Geneva, Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.42;
  isolation: isolate;
}

.hazel-dialup[data-skin="generic"] {
  --hd-blue: #000080;
  --hd-blue-2: #000060;
  --hd-cyan: #73d2d1;
  --hd-warm: #f7e46a;
}

.hazel-dialup button,
.hazel-dialup select {
  font: inherit;
}

.hazel-dialup button {
  color: inherit;
}

.hazel-dialup button:focus-visible,
.hazel-dialup select:focus-visible {
  outline: 3px solid var(--hd-warm);
  outline-offset: 3px;
}

.hazel-dialup .hd-window {
  overflow: hidden;
  border: 2px solid #111820;
  border-radius: 8px;
  background: var(--hd-panel);
  box-shadow:
    0 18px 50px rgba(5, 12, 23, 0.28),
    inset 1px 1px 0 var(--hd-panel-hi),
    inset -1px -1px 0 var(--hd-panel-lo);
}

.hazel-dialup[data-skin="generic"] .hd-window {
  border-radius: 0;
  box-shadow:
    8px 8px 0 rgba(0, 0, 0, 0.32),
    inset 1px 1px 0 #fff,
    inset -2px -2px 0 #555;
}

.hazel-dialup .hd-titlebar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 10px 13px;
  color: #fff;
  background:
    radial-gradient(circle at 76% -80%, rgba(75, 212, 218, 0.8), transparent 48%),
    linear-gradient(100deg, var(--hd-blue), var(--hd-blue-2));
  border-bottom: 2px solid #111820;
}

.hazel-dialup[data-skin="generic"] .hd-titlebar {
  min-height: 48px;
  padding-block: 6px;
  background: var(--hd-blue);
}

.hazel-dialup .hd-titlebar h2,
.hazel-dialup .hd-titlebar p {
  margin: 0;
}

.hazel-dialup .hd-titlebar h2 {
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hazel-dialup[data-skin="generic"] .hd-titlebar h2 {
  font-family: Tahoma, "MS Sans Serif", sans-serif;
  font-size: 17px;
  letter-spacing: 0;
}

.hazel-dialup .hd-kicker {
  margin-bottom: 2px;
  color: #b9f5f4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hazel-dialup[data-skin="generic"] .hd-kicker {
  display: none;
}

.hazel-dialup .hd-orbit {
  position: relative;
  width: 37px;
  height: 37px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.hazel-dialup .hd-orbit::before {
  position: absolute;
  inset: 11px -8px;
  border: 2px solid var(--hd-warm);
  border-radius: 50%;
  content: "";
}

.hazel-dialup .hd-orbit i {
  position: absolute;
  top: 4px;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hd-cyan);
  box-shadow: 0 0 0 2px var(--hd-blue);
}

.hazel-dialup[data-skin="generic"] .hd-orbit {
  display: none;
}

.hazel-dialup .hd-line {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #dfe8ef;
  background: rgba(0, 0, 0, 0.18);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hazel-dialup .hd-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa4aa;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.22);
}

.hazel-dialup .hd-line.is-online i {
  background: #6cf3a0;
  box-shadow: 0 0 9px rgba(108, 243, 160, 0.75);
}

.hazel-dialup[data-skin="generic"] .hd-line {
  border-radius: 0;
}

.hazel-dialup .hd-screen {
  position: relative;
  min-height: 455px;
  padding: clamp(18px, 4vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.04)),
    var(--hd-paper);
}

.hazel-dialup .hd-screen::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(10, 28, 50, 0.025) 4px
  );
  content: "";
}

.hazel-dialup[data-skin="generic"] .hd-screen {
  background: #c0c0c0;
}

.hazel-dialup .hd-panel {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 520px;
  min-height: 387px;
  margin-inline: auto;
}

.hazel-dialup .hd-copy {
  text-align: center;
}

.hazel-dialup .hd-copy h3,
.hazel-dialup .hd-copy p {
  margin: 0;
}

.hazel-dialup .hd-copy h3 {
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 5vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hazel-dialup[data-skin="generic"] .hd-copy h3 {
  font-family: Tahoma, "MS Sans Serif", sans-serif;
  font-size: 22px;
  letter-spacing: 0;
}

.hazel-dialup .hd-copy p {
  max-width: 440px;
  margin: 8px auto 0;
  color: var(--hd-muted);
  font-size: 14px;
}

.hazel-dialup .hd-recreation {
  color: var(--hd-blue-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hazel-dialup .hd-illustration {
  position: relative;
  width: min(100%, 330px);
  height: 92px;
  margin: 2px auto -2px;
}

.hazel-dialup .hd-computer {
  position: absolute;
  left: 44px;
  bottom: 18px;
  width: 95px;
  height: 66px;
  border: 2px solid #1b2730;
  border-radius: 4px;
  background: #c9c6b8;
  box-shadow: inset 2px 2px #fefced, inset -2px -2px #6f7475;
}

.hazel-dialup .hd-computer::before {
  position: absolute;
  inset: 8px 10px 15px;
  border: 2px solid #1b2730;
  background: linear-gradient(150deg, #72b6b3, #113e5b 70%);
  content: "";
}

.hazel-dialup .hd-computer::after {
  position: absolute;
  right: 18px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #47c367;
  box-shadow: 0 0 0 1px #28402c;
  content: "";
}

.hazel-dialup .hd-computer i {
  position: absolute;
  left: 22px;
  bottom: -13px;
  width: 52px;
  height: 12px;
  border: 2px solid #1b2730;
  background: #c9c6b8;
  box-shadow: inset 1px 1px #fff;
}

.hazel-dialup .hd-cord {
  position: absolute;
  left: 132px;
  bottom: 28px;
  width: 104px;
  height: 38px;
  border-bottom: 3px dotted #53616b;
  border-radius: 50%;
  transform: rotate(5deg);
}

.hazel-dialup .hd-phone {
  position: absolute;
  right: 36px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 62px;
  border: 2px solid #1b2730;
  border-radius: 18px 18px 7px 7px;
  color: #fff;
  background: #b3413f;
  box-shadow: inset 2px 2px rgba(255, 255, 255, 0.35), inset -3px -3px rgba(66, 9, 10, 0.35);
  font-size: 32px;
  transform: rotate(3deg);
}

.hazel-dialup .hd-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border: 1px solid #a4a7a2;
  background: rgba(255, 255, 255, 0.48);
}

.hazel-dialup .hd-profile div {
  min-width: 0;
  padding: 9px 12px;
}

.hazel-dialup .hd-profile div + div {
  border-left: 1px solid #a4a7a2;
}

.hazel-dialup .hd-profile dt {
  color: var(--hd-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hazel-dialup .hd-profile dd {
  overflow: hidden;
  margin: 2px 0 0;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hazel-dialup[data-skin="generic"] .hd-profile,
.hazel-dialup[data-skin="generic"] .hd-field select {
  box-shadow: inset 2px 2px #777, inset -1px -1px #fff;
}

.hazel-dialup .hd-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hazel-dialup .hd-field select {
  width: 100%;
  min-height: 40px;
  padding: 7px 34px 7px 10px;
  border: 1px solid #6d7477;
  border-radius: 3px;
  color: var(--hd-ink);
  background: #fff;
  text-transform: none;
}

.hazel-dialup[data-skin="generic"] .hd-field select {
  border-radius: 0;
}

.hazel-dialup .hd-phone-note {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: -4px 0;
  color: #69420a;
  font-size: 12px;
  font-weight: 700;
}

.hazel-dialup .hd-phone-note span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #76520f;
  border-radius: 50%;
  background: #f7df80;
  font-size: 11px;
}

.hazel-dialup .hd-primary,
.hazel-dialup .hd-secondary,
.hazel-dialup .hd-destination {
  min-height: 44px;
  border: 1px solid #192a36;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: inset 1px 1px rgba(255, 255, 255, 0.5), 0 2px 0 rgba(18, 29, 38, 0.28);
}

.hazel-dialup .hd-primary {
  justify-self: center;
  min-width: 180px;
  padding: 10px 26px;
  color: #fff;
  background: linear-gradient(#1e6a9d, var(--hd-blue));
  text-shadow: 0 1px #00162f;
}

.hazel-dialup .hd-secondary {
  justify-self: center;
  min-width: 120px;
  padding: 8px 20px;
  background: linear-gradient(#f8f6ef, #c7c4bb);
}

.hazel-dialup[data-skin="generic"] .hd-primary,
.hazel-dialup[data-skin="generic"] .hd-secondary,
.hazel-dialup[data-skin="generic"] .hd-destination {
  border-radius: 0;
  box-shadow: inset 2px 2px #fff, inset -2px -2px #555;
}

.hazel-dialup .hd-primary:hover,
.hazel-dialup .hd-secondary:hover,
.hazel-dialup .hd-destination:hover {
  filter: brightness(1.06);
}

.hazel-dialup .hd-primary:active,
.hazel-dialup .hd-secondary:active,
.hazel-dialup .hd-destination:active {
  transform: translateY(1px);
  box-shadow: inset 2px 2px rgba(0, 0, 0, 0.2);
}

.hazel-dialup button:disabled {
  cursor: wait;
  filter: grayscale(0.65);
  opacity: 0.58;
}

.hazel-dialup .hd-modem {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 170px;
  height: 64px;
  margin: 6px auto 0;
  padding: 31px 18px 12px;
  border: 2px solid #26343d;
  border-radius: 5px;
  background: linear-gradient(#ebe7d9, #aaa79f);
  box-shadow: inset 2px 2px #fff, inset -3px -3px #6b6b67, 8px 9px 0 rgba(38, 52, 61, 0.12);
}

.hazel-dialup .hd-modem::before {
  position: absolute;
  width: 0;
  height: 0;
  content: "";
}

.hazel-dialup .hd-modem i {
  width: 14px;
  height: 8px;
  border: 1px solid #24372c;
  border-radius: 4px;
  background: #54e37f;
  box-shadow: 0 0 7px rgba(40, 219, 95, 0.8);
  animation: hd-modem-blink 0.62s steps(2, end) infinite;
}

.hazel-dialup .hd-modem i:nth-child(2) { animation-delay: -0.18s; }
.hazel-dialup .hd-modem i:nth-child(3) { animation-delay: -0.41s; }
.hazel-dialup .hd-modem i:nth-child(4) { animation-delay: -0.57s; }

.hazel-dialup .hd-progress {
  height: 17px;
  overflow: hidden;
  border: 1px solid #273844;
  background: #fff;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.23);
}

.hazel-dialup .hd-progress i {
  display: block;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0 7px, transparent 7px 14px),
    linear-gradient(90deg, var(--hd-blue-2), var(--hd-cyan));
  transition: width 380ms ease;
}

.hazel-dialup .hd-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.hazel-dialup .hd-steps li {
  display: flex;
  gap: 7px;
  align-items: baseline;
  min-width: 0;
  color: #879097;
}

.hazel-dialup .hd-steps li span {
  flex: 0 0 14px;
  font-family: monospace;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.hazel-dialup .hd-steps li.is-current {
  color: var(--hd-blue);
  font-weight: 800;
}

.hazel-dialup .hd-steps li.is-complete {
  color: #2d6843;
}

.hazel-dialup .hd-welcome-mark {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  height: 60px;
  color: var(--hd-warm);
  font-size: 22px;
}

.hazel-dialup .hd-welcome-mark i {
  width: 66px;
  height: 40px;
  border: 2px solid var(--hd-blue);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px var(--hd-cyan), inset 0 0 0 10px var(--hd-blue);
  transform: rotate(-10deg);
}

.hazel-dialup .hd-destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hazel-dialup .hd-destination {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 10px;
  align-items: center;
  min-height: 92px;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--hd-blue-2), var(--hd-blue));
  text-align: left;
}

.hazel-dialup .hd-destination > span {
  grid-row: 1 / span 2;
  font-size: 30px;
}

.hazel-dialup .hd-destination b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.hazel-dialup .hd-destination small {
  color: #c8e4ee;
  font-size: 11px;
  font-weight: 400;
}

.hazel-dialup .hd-link-button {
  justify-self: center;
  padding: 6px 10px;
  border: 0;
  color: var(--hd-blue-2);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
}

.hazel-dialup .hd-launching {
  margin: -5px 0;
  color: var(--hd-blue-2);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.hazel-dialup .hd-phone-big {
  display: grid;
  place-items: center;
  width: 86px;
  height: 74px;
  margin: 12px auto 0;
  border: 2px solid #421011;
  border-radius: 22px 22px 8px 8px;
  color: #fff;
  background: var(--hd-red);
  box-shadow: inset 3px 3px rgba(255, 255, 255, 0.25), 8px 8px 0 rgba(66, 16, 17, 0.12);
  font-size: 40px;
  transform: rotate(-4deg);
}

.hazel-dialup .hd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hazel-dialup .hd-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 7px 10px 7px 13px;
  border-top: 1px solid #787b7d;
  color: #3e484f;
  background: #ceccc5;
  font-size: 10px;
}

.hazel-dialup .hd-footer p {
  margin: 0;
}

.hazel-dialup .hd-footer p span {
  margin-right: 4px;
  color: var(--hd-blue-2);
}

.hazel-dialup .hd-mute {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  align-items: center;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid #777b7d;
  border-radius: 3px;
  background: #ece9df;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.hazel-dialup[data-skin="generic"] .hd-mute {
  border-radius: 0;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #555;
}

.hazel-dialup .hd-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes hd-modem-blink {
  0%, 48% { opacity: 0.2; }
  49%, 100% { opacity: 1; }
}

@media (max-width: 520px) {
  .hazel-dialup .hd-titlebar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hazel-dialup .hd-orbit {
    display: none;
  }

  .hazel-dialup .hd-screen {
    min-height: 510px;
    padding: 20px 16px;
  }

  .hazel-dialup .hd-panel {
    min-height: 468px;
  }

  .hazel-dialup .hd-profile,
  .hazel-dialup .hd-destinations,
  .hazel-dialup .hd-steps {
    grid-template-columns: 1fr;
  }

  .hazel-dialup .hd-profile div + div {
    border-top: 1px solid #a4a7a2;
    border-left: 0;
  }

  .hazel-dialup .hd-illustration {
    transform: scale(0.9);
  }

  .hazel-dialup .hd-footer {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hazel-dialup .hd-modem i {
    animation: none;
  }

  .hazel-dialup .hd-progress i {
    transition: none;
  }
}

/* AOL uses the small, beveled controls of its own client. */
.hazel-dialup[data-skin=aol]{font:12px/1.4 Arial,'MS Sans Serif',sans-serif;max-width:580px;--hd-paper:#c0c0c0;--hd-panel:#c0c0c0;--hd-blue:#000080;--hd-blue-2:#000080}
.hazel-dialup[data-skin=aol] .hd-window{border:3px outset #fff;border-radius:0;box-shadow:2px 2px #444}
.hazel-dialup[data-skin=aol] .hd-titlebar{min-height:25px;padding:3px 5px;background:#000080;grid-template-columns:1fr auto;border:0;gap:4px}
.hazel-dialup[data-skin=aol] .hd-titlebar h2{font:bold 12px Arial,sans-serif;letter-spacing:0}
.hazel-dialup[data-skin=aol] .hd-kicker,.hazel-dialup[data-skin=aol] .hd-orbit,.hazel-dialup[data-skin=aol] .hd-recreation{display:none}
.hazel-dialup[data-skin=aol] .hd-line{border:0;border-radius:0;background:transparent;padding:0;font-size:10px}
.hazel-dialup[data-skin=aol] .hd-screen{padding:16px;background:#c0c0c0;min-height:0}
.hazel-dialup[data-skin=aol] .hd-screen:after{display:none}
.hazel-dialup[data-skin=aol] .hd-panel{gap:12px;min-height:0}
.hazel-dialup[data-skin=aol] .hd-copy h3{font:bold 18px Arial,sans-serif;letter-spacing:0}
.hazel-dialup[data-skin=aol] .hd-copy p{font-size:12px}
.hazel-dialup[data-skin=aol] .hd-illustration{width:300px;max-width:100%;height:90px;background:#ffffed url('assets/aol-signon-reference.png') center -67px/339px 339px no-repeat;transform:none}
.hazel-dialup[data-skin=aol] .hd-illustration>*{display:none}
.hazel-dialup[data-skin=aol] button{border:2px outset #fff;border-radius:0;background:#c0c0c0;color:#111;box-shadow:none;text-shadow:none;font:12px Arial,sans-serif}
.hazel-dialup[data-skin=aol] button:active{border-style:inset}
.hazel-dialup[data-skin=aol] .hd-destination{min-height:60px;padding:8px;gap:4px}
.hazel-dialup[data-skin=aol] .hd-destination>span{display:none}
.hazel-dialup[data-skin=aol] .hd-destination b{font:bold 13px Arial,sans-serif}
.hazel-dialup[data-skin=aol] .hd-destination small{color:#333}
.hazel-dialup[data-skin=aol] .hd-progress i{background:repeating-linear-gradient(90deg,#000080 0 10px,#c0c0c0 10px 12px)}
.hazel-dialup[data-skin=aol] .hd-footer{min-height:30px;padding:4px;background:#c0c0c0}
