/* 「添加到桌面」弹层：与游戏青色按钮同一套观感。 */
.add-desktop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #14200f99;
  font: 15px/1.5 -apple-system, "Microsoft YaHei", sans-serif;
}

.add-desktop__panel {
  box-sizing: border-box;
  width: min(420px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 22px 20px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px #0b160a4d;
  color: #2c3a2a;
}

.add-desktop__heading {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #1d2a1c;
}

.add-desktop__option {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: #2fa8b8;
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.add-desktop__option:disabled {
  background: #d5dcd4;
  color: #6d7a6b;
  cursor: not-allowed;
}

.add-desktop__option:focus-visible,
.add-desktop__close:focus-visible {
  outline: 3px solid #e6a51e;
  outline-offset: 2px;
}

.add-desktop__title {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.add-desktop__note {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  opacity: 0.9;
}

.add-desktop__hint {
  margin: 4px 0 14px;
  min-height: 1.5em;
  font-size: 13px;
  color: #5b6a59;
}

.add-desktop__close {
  width: 100%;
  padding: 12px;
  border: 1px solid #c6d0c5;
  border-radius: 14px;
  background: #f4f7f3;
  color: #33422f;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}