/* home.css */
/* home.css — only small glue styles for drawer + safe area */

:root {
  --mk-safe-bottom: env(safe-area-inset-bottom, 0px);
}

.pb-safe {
  padding-bottom: var(--mk-safe-bottom);
}

/* Drawer open state */
body.mk-drawer-open {
  overflow: hidden;
}

/* Drawer link style */
.mk-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: #111418;
  text-decoration: none;
}
.dark .mk-drawer-link {
  color: #fff;
}
.mk-drawer-link:hover {
  background: rgba(17, 20, 24, 0.06);
}
.dark .mk-drawer-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mk-toplink {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  color: rgba(17, 20, 24, 0.85);
  text-decoration: none;
}
.dark .mk-toplink {
  color: rgba(255, 255, 255, 0.9);
}
.mk-toplink:hover {
  background: rgba(17, 20, 24, 0.06);
}
.dark .mk-toplink:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mk-rail-link,
.mk-foot-link {
  color: rgba(17, 20, 24, 0.75);
  text-decoration: none;
  font-weight: 600;
}
.dark .mk-rail-link,
.dark .mk-foot-link {
  color: rgba(255, 255, 255, 0.78);
}
.mk-rail-link:hover,
.mk-foot-link:hover {
  text-decoration: underline;
}

.mk-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(17, 20, 24, 0.08);
  background: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: rgba(17, 20, 24, 0.85);
}
.dark .mk-pill {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}
.mk-pill:hover {
  filter: brightness(0.98);
}
