.notify-badge {
  position: absolute;
  right: 8px;
  top: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d93025;
  color: #fff;
  font: 800 10px/18px Arial, sans-serif;
  text-align: center;
  z-index: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.skyland-notify-layer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  pointer-events: none;
}
.skyland-notify-layer.is-open {
  display: block;
}
#skylandMineOverlay {
  z-index: 81;
}
#skylandFeedOverlay {
  z-index: 82;
}
#skylandNotifyPanel,
#skylandMinePanel,
#skylandFeedPanel,
#skylandMePanel {
  position: absolute;
  right: 14px;
  top: 72px;
  width: min(420px, calc(100vw - 28px));
  max-height: calc(100vh - 90px);
  height: min(720px, calc(100vh - 90px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}
#skylandMinePanel {
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100vh - 90px);
}
#skylandFeedPanel {
  width: min(430px, calc(100vw - 28px));
  max-height: calc(100vh - 90px);
}
.skyland-notify-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-bottom: 1px solid #edf0f2;
}
.skyland-notify-title {
  flex: 1;
  min-width: 0;
  pointer-events: none;
}
.skyland-notify-title b {
  display: block;
  text-align: center;
  font-size: 17px;
  color: #168797;
}
.skyland-notify-title small {
  display: block;
  color: #7b888e;
  margin-top: 2px;
  font-size: 11px;
}
.skyland-notify-bell-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d99a0b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.skyland-notify-iconbtn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: #eef5f6;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}
#skylandNotifyBody {
  padding: 8px 10px 14px;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.skyland-notify-section {
  padding: 2px 4px 7px;
  color: #79878d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.skyland-notify-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  margin-bottom: 7px;
  border: 1px solid #edf1f2;
  border-radius: 13px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.skyland-notify-row:hover {
  background: #f8fbfb;
}
.skyland-notify-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #f1f6f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 36px;
}
.skyland-notify-row-icon.skyland-notify-bell-mark {
  background-color: #f1f6f7;
  background-size: 20px 20px;
}
.skyland-notify-row-body {
  flex: 1;
  min-width: 0;
}
.skyland-notify-row-body b {
  display: block;
  font-size: 13px;
  color: #27343a;
}
.skyland-notify-row-body small {
  display: block;
  margin-top: 2px;
  color: #748188;
  font-size: 11px;
  line-height: 1.3;
}
.skyland-notify-arrow {
  font-size: 22px;
  color: #95a3a8;
  flex: 0 0 auto;
}
.skyland-notify-count {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d93025;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 22px;
}
.skyland-notify-settings-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e7edef;
  border-radius: 13px;
  background: #fff;
}
.skyland-notify-settings-text {
  flex: 1;
  min-width: 0;
}
.skyland-notify-settings-text b {
  display: block;
  font-size: 13px;
}
.skyland-notify-settings-text small {
  display: block;
  color: #718087;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.35;
}
.skyland-notify-settings-note {
  padding: 8px 2px 0;
  color: #849096;
  font-size: 11px;
  line-height: 1.4;
}
.skyland-notify-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex: 0 0 46px;
}
.skyland-notify-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.skyland-notify-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbd5d8;
  cursor: pointer;
  transition: 0.18s;
}
.skyland-notify-slider:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: 0.18s;
}
.skyland-notify-switch input:checked + .skyland-notify-slider {
  background: #1396a0;
}
.skyland-notify-switch input:checked + .skyland-notify-slider:before {
  transform: translateX(20px);
}
.skyland-notify-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid #eef1f2;
  background: #fff;
  text-align: left;
  padding: 10px 8px 10px 4px;
}
.skyland-notify-item:hover {
  background: #f2f7f8;
}
.skyland-notify-item.is-read {
  background: #fbfcfc;
}
.skyland-notify-item.is-selected {
  background: #f0f8fa;
}
.skyland-notify-check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  cursor: pointer;
}
.skyland-notify-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #168797;
  cursor: pointer;
}
.skyland-notify-item-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0 36px 18px 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.skyland-notify-dot {
  position: absolute;
  right: 8px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d93025;
}
.skyland-notify-badge {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef5f6;
  color: #31464e;
  margin-top: 2px;
}
.skyland-notify-badge.moi { background: #dbeafe; color: #1d4ed8; }
.skyland-notify-badge.tot { background: #fef3c7; color: #a16207; }
.skyland-notify-badge.giam { background: #ffedd5; color: #c2410c; }
.skyland-notify-badge.doc { background: #fee2e2; color: #b91c1c; }
.skyland-notify-empty {
  padding: 24px 12px;
  text-align: center;
  color: #778087;
  font-size: 13px;
}
#skylandNotifyMini {
  position: fixed;
  right: 18px;
  bottom: 118px;
  z-index: 83;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
  font-weight: 800;
  cursor: pointer;
}
#skylandNotifyMini[hidden] {
  display: none;
}
.skyland-notify-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid #edf0f2;
}
.skyland-notify-tool {
  border: 0;
  border-radius: 9px;
  background: #eef5f6;
  cursor: pointer;
  font-weight: 800;
  padding: 7px 10px;
  font-size: 12px;
}
.skyland-notify-link {
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #168797;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
}
.skyland-notify-link:hover {
  color: #0f6b78;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.skyland-notify-link.is-danger {
  color: #b42318;
}
.skyland-notify-link.is-danger:hover {
  color: #912018;
}
.skyland-notify-link[hidden] {
  display: none !important;
}
#skylandFeedList,
.skyland-mine-body {
  overflow: auto;
  padding: 8px 10px 12px;
  flex: 1 1 auto;
  min-height: 180px;
  max-height: calc(100vh - 170px);
}
.skyland-notify-accordion {
  margin: 0 0 9px;
}
.skyland-notify-accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e1e8ea;
  border-radius: 11px;
  background: #f7fafb;
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.skyland-notify-accordion.is-open .skyland-notify-accordion-head {
  background: #eef7f8;
}
.skyland-notify-accordion-body {
  display: none;
  padding: 6px 2px 2px;
}
.skyland-notify-accordion.is-open .skyland-notify-accordion-body {
  display: block;
}
.skyland-notify-dismiss {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border: 0;
  background: transparent;
  color: #7a8b91;
  border-radius: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.skyland-notify-dismiss:hover {
  color: #b42318;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.skyland-mine-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 9px 10px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #f6fbfb;
  border: 1px solid #e4eeee;
}
.skyland-mine-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #d7e2e4;
  border-radius: 999px;
  background: #eef4f5;
  color: #4d5960;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
button.skyland-mine-chip.is-on {
  background: #087f8c;
  color: #fff;
  border-color: #087f8c;
}
.skyland-mine-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px 10px;
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #dce6e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}
.skyland-mine-code {
  font-size: 14px;
  font-weight: 900;
  color: #0b8aa0;
  margin-bottom: 4px;
}
.skyland-mine-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 5px;
}
.skyland-mine-line {
  font-size: 12px;
  line-height: 1.4;
  color: #556168;
  margin-top: 2px;
  word-break: break-word;
}
.skyland-mine-line a {
  color: #0b6f86;
  font-weight: 900;
}
.skyland-mine-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.skyland-mine-goto,
.skyland-mine-edit {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}
.skyland-mine-goto {
  border: 1px solid #0b8aa0;
  background: #e8f7f8;
}
.skyland-mine-edit {
  border: 0;
  background: #0f919c;
  color: #fff;
  font-size: 17px;
}
.skyland-notify-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #eceff1;
  background: #fff;
  flex: 0 0 auto;
}
.skyland-notify-tabs button {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 11px 4px 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #90a4ae;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.skyland-notify-tabs button.is-on {
  color: #087f8c;
  border-bottom-color: #087f8c;
}
.skyland-notify-blank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 28px 16px;
  color: #90a4ae;
  text-align: center;
}
.skyland-notify-blank p {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.skyland-notify-blank-art {
  width: 120px;
  height: 88px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 88' fill='none'%3E%3Cpath d='M18 58h52' stroke='%23d7dee2' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M18 70h36' stroke='%23e4eaed' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='78' cy='34' r='18' stroke='%23cfd8dc' stroke-width='4'/%3E%3Cpath d='M91 48l14 14' stroke='%23cfd8dc' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M72 34h12M78 28v12' stroke='%23b0bec5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
#skylandMeFrame {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}
#skylandMeOverlay.is-open {
  display: block;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.28);
}
#skylandMeClose {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
}
@media (min-width: 900px) {
  #skylandMePanel {
    top: 64px;
    right: 18px;
    width: min(440px, calc(100vw - 36px));
    height: min(780px, calc(100vh - 84px));
    max-height: calc(100vh - 84px);
  }
}
@media (max-width: 899px) {
  .skyland-notify-desk-only {
    display: none !important;
  }
  .skyland-notify-layer.is-open {
    background: #fff;
    pointer-events: auto;
  }
  #skylandNotifyPanel,
  #skylandMinePanel,
  #skylandMePanel {
    inset: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }
  #skylandMeClose {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }
  .skyland-notify-head {
    background: #087f8c;
    border-bottom: 0;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 8px 10px;
  }
  .skyland-notify-title b {
    color: #fff;
    font-size: 18px;
  }
  .skyland-notify-title small {
    color: rgba(255, 255, 255, 0.78);
  }
  .skyland-notify-iconbtn {
    background: transparent;
    color: #fff;
  }
  .skyland-notify-tabs {
    padding: 0 4px;
  }
  .skyland-notify-tabs button {
    font-size: 12.5px;
    padding: 13px 2px 11px;
  }
  .skyland-notify-tools {
    display: flex;
    gap: 4px 12px;
    padding: 10px 12px 8px;
  }
  .skyland-notify-link {
    font-size: 12.5px;
  }
  .skyland-notify-blank {
    min-height: 52vh;
  }
  #skylandNotifyMini {
    bottom: 78px;
    right: 12px;
  }
}
