/*//////////////////////////////////////////////////////////
  47Flare — SHEET (menu)
//////////////////////////////////////////////////////////*/

.sheet {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: flex-end;
  z-index: 60;
}
.sheet[aria-hidden="false"] { display: flex; }

.sheet-panel {
  width: min(560px, 100%);
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--stroke);
  background: var(--card2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  margin: 0 auto;
  padding: 14px 14px calc(18px + var(--safe-bottom));
}

.sheet-handle {
  width: 46px; height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  margin: 4px auto 10px;
}
[data-theme="light"] .sheet-handle { background: rgba(0,0,0,0.12); }

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 6px 10px;
}
.sheet-title { font-weight: 700; letter-spacing: -0.2px; }

.menu { display: grid; gap: 10px; padding: 6px; }
.menu a, .menu button {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,0.08);
  padding: 12px 12px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}
[data-theme="light"] .menu a,
[data-theme="light"] .menu button { background: rgba(255,255,255,0.52); }
.menu small { color: var(--muted); font-size: 12px; }
