@media (min-width: 900px) {
  .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: 80;
  display: none;
  pointer-events: none;
}
.skyland-notify-layer.is-open {
  display: block;
}
#skylandMineOverlay {
  z-index: 81;
}
#skylandFeedOverlay {
  z-index: 82;
}
#skylandNotifyPanel,
#skylandMinePanel,
#skylandFeedPanel {
  position: absolute;
  right: 14px;
  top: 72px;
  width: min(390px, calc(100vw - 28px));
  max-height: 72vh;
  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 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-bottom: 1px solid #edf0f2;
}
.skyland-notify-title {
  flex: 1;
  min-width: 0;
}
.skyland-notify-title b {
  display: flex;
  align-items: center;
  gap: 8px;
  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: 10px;
  overflow: auto;
  max-height: calc(72vh - 58px);
}
.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: 10px;
  border: 0;
  border-bottom: 1px solid #eef1f2;
  background: #fff;
  text-align: left;
  padding: 11px 28px 11px 4px;
  cursor: pointer;
}
.skyland-notify-item:hover {
  background: #f2f7f8;
}
.skyland-notify-item.is-read {
  background: #fbfcfc;
}
.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;
  gap: 7px;
  padding: 8px 12px;
  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;
}
#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: #eef2f3;
  color: #3f5156;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.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;
}
